Changeset 4666 for zzuf


Ignore:
Timestamp:
Oct 5, 2010, 2:40:19 PM (9 years ago)
Author:
Sam Hocevar
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.