Changeset 4666


Ignore:
Timestamp:
10/05/10 14:40:19 (3 years ago)
Author:
sam
Message:

Filedescriptor 0 is the debug channel, not stdin! Fix that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r4665 r4666  
    939939            continue; 
    940940 
    941         for(j = 1; j < 3; j++) 
     941        for(j = 0; j < 3; j++) 
    942942            ZZUF_FD_SET(opts->child[i].fd[j], &fdset, maxfd); 
    943943    } 
     
    947947#if _WIN32 
    948948    for(i = 0; i < opts->maxchild; i++) 
    949         for (j = 1; j < 3; j++) 
     949        for (j = 0; j < 3; j++) 
    950950        { 
    951951            char tmpbuf[1025]; 
Note: See TracChangeset for help on using the changeset viewer.