| # | Line 168 | Line 168 | void process_child(gpointer data, gpointer user_data){ | |
|---|---|---|
| 168 | poll(fds, fdssize, -1); | |
| 169 | /* For stdout and stderr see if there is any data, and read it */ | |
| 170 | for(x=0; x<2; x++){ | |
| 171 | < | if((fds[x].revents & POLLIN) == 0){ | 
| 171 | > | if((fds[x].revents & POLLIN) != 0){ | 
| 172 | /* We have data to read */ | |
| 173 | g_io_channel_read_line(sout[x], &readbuf, &rdatasize, NULL, NULL); | |
| 174 | if(rdatasize > 0){ | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |