Changeset 3894 for neercs


Ignore:
Timestamp:
Nov 9, 2009, 6:36:05 PM (10 years ago)
Author:
Pascal Terjan
Message:
  • Fix debug message regarding already send bytes for current dirty rectangle
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r3876 r3894  
    107107    {
    108108        size_t bufsize, towrite;
    109         ssize_t written = 0, ret;
     109        ssize_t written, ret;
    110110        socklen_t optlen = sizeof(bufsize);
    111111        size_t bytes;
     
    140140            debug("Requesting refresh for %d", bytes);
    141141            towrite = bytes;
     142            written = 0;
    142143            sprintf(buf2, "UPDATE %10d %10d", x, y);
    143144            ret = write(screen_list->socket[SOCK_CLIENT], buf2, strlen(buf2)+1);
Note: See TracChangeset for help on using the changeset viewer.