version 1.2.2.16, 2012/06/20 15:01:30
|
version 1.2.2.17, 2012/06/26 08:05:58
|
Line 390 main(int argc, char **argv)
|
Line 390 main(int argc, char **argv)
|
else |
else |
lf = stdout; |
lf = stdout; |
if (lf) { |
if (lf) { |
root = schedBegin(); |
|
|
|
ret = Subscribe(args->cli->sock, lf); |
ret = Subscribe(args->cli->sock, lf); |
|
|
|
root = schedBegin(); |
|
|
schedRead(root, pubRX, lf, args->cli->sock, NULL, 0); |
schedRead(root, pubRX, lf, args->cli->sock, NULL, 0); |
schedRun(root, &Kill); |
schedRun(root, &Kill); |
|
|
|
schedEnd(&root); |
|
|
if (un) |
if (un) |
Unsubscribe(args->cli->sock); |
Unsubscribe(args->cli->sock); |
fclose(lf); |
fclose(lf); |
|
|
schedEnd(&root); |
|
} else |
} else |
printf("Error:: in output file #%d - %s\n", errno, strerror(errno)); |
printf("Error:: in output file #%d - %s\n", errno, strerror(errno)); |
} else |
} else |