Ignore:
Timestamp:
Apr 4, 2009 4:49:00 PM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanoscale/server.c

    r1278 r1380  
    7575            _x > _y ? _x : _y; })
    7676
     77#ifdef notdef
    7778static int
    7879find_best_host(void)
     
    103104    return index;
    104105}
     106#endif
    105107
    106108static void
     
    572574                // accept the connection.
    573575                msg = 0;
    574                 write(i, &msg, 4);
     576                if (write(i, &msg, 4) != 4) {
     577                    fprintf(stderr, "short write for hostname\n");
     578                }
    575579             
    576580                int pair[2];
Note: See TracChangeset for help on using the changeset viewer.