Ignore:
Timestamp:
Apr 13, 2006, 2:50:41 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_export into cucul_buffer. We'll use it for other things.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaserver.c

    r724 r757  
    104104
    105105    cucul_t *qq;
    106     struct cucul_export *ex;
     106    struct cucul_buffer *ex;
    107107
    108108    int client_count;
     
    439439            memcpy(c->outbuf + c->stop, ANSI_PREFIX, strlen(ANSI_PREFIX));
    440440            c->stop += strlen(ANSI_PREFIX);
    441             memcpy(c->outbuf + c->stop, server->ex->buffer, server->ex->size);
     441            memcpy(c->outbuf + c->stop, server->ex->data, server->ex->size);
    442442            c->stop += server->ex->size;
    443443
     
    471471        memcpy(c->outbuf, ANSI_PREFIX, strlen(ANSI_PREFIX) - ret);
    472472        c->stop = strlen(ANSI_PREFIX) - ret;
    473         memcpy(c->outbuf + c->stop, server->ex->buffer, server->ex->size);
     473        memcpy(c->outbuf + c->stop, server->ex->data, server->ex->size);
    474474        c->stop += server->ex->size;
    475475
     
    478478
    479479    /* Send actual data */
    480     ret = nonblock_write(c->fd, server->ex->buffer, server->ex->size);
     480    ret = nonblock_write(c->fd, server->ex->data, server->ex->size);
    481481    if(ret == -1)
    482482    {
     
    498498        }
    499499
    500         memcpy(c->outbuf, server->ex->buffer, server->ex->size - ret);
     500        memcpy(c->outbuf, server->ex->data, server->ex->size - ret);
    501501        c->stop = server->ex->size - ret;
    502502
Note: See TracChangeset for help on using the changeset viewer.