Changeset 1538 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jan 2, 2007, 3:51:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1537 r1538 251 251 && maxbytes >= 0 && child_list[i].bytes > maxbytes) 252 252 { 253 fprintf(std err, "seed %i: data exceeded, sending SIGTERM\n",253 fprintf(stdout, "seed %i: data exceeded, sending SIGTERM\n", 254 254 child_list[i].seed); 255 255 kill(child_list[i].pid, SIGTERM); … … 262 262 && difftime(now, child_list[i].date) > maxtime) 263 263 { 264 fprintf(std err, "seed %i: time exceeded, sending SIGTERM\n",264 fprintf(stdout, "seed %i: time exceeded, sending SIGTERM\n", 265 265 child_list[i].seed); 266 266 kill(child_list[i].pid, SIGTERM); … … 276 276 && difftime(now, child_list[i].date) > 2.0) 277 277 { 278 fprintf(std err, "seed %i: not responding, sending SIGKILL\n",278 fprintf(stdout, "seed %i: not responding, sending SIGKILL\n", 279 279 child_list[i].seed); 280 280 kill(child_list[i].pid, SIGKILL); … … 299 299 300 300 if(WIFEXITED(status) && WEXITSTATUS(status)) 301 fprintf(std err, "seed %i: exit %i\n",301 fprintf(stdout, "seed %i: exit %i\n", 302 302 child_list[i].seed, WEXITSTATUS(status)); 303 303 else if(WIFSIGNALED(status)) 304 fprintf(std err, "seed %i: signal %i\n",304 fprintf(stdout, "seed %i: signal %i\n", 305 305 child_list[i].seed, WTERMSIG(status)); 306 306 … … 312 312 child_count--; 313 313 } 314 315 fflush(stdout); 314 316 315 317 /* Read data from all sockets */
Note: See TracChangeset
for help on using the changeset viewer.