output should be sent to stdout instead of stderr

This commit is contained in:
zorro765 2015-12-11 00:43:34 +00:00
parent 672bf7661d
commit 9a836c6b36

View File

@ -112,8 +112,8 @@ void proxychains_write_log(char *str, ...) {
va_start(arglist, str);
vsnprintf(buff, sizeof(buff), str, arglist);
va_end(arglist);
fprintf(stderr, "%s", buff);
fflush(stderr);
fprintf(stdout, "%s", buff);
fflush(stdout);
}
}