diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-07-18 17:06:16 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-07-18 17:06:16 +0200 |
commit | 69271b2a383f6fe53ed7d5ca21cc4bd89c25de17 (patch) | |
tree | 56fc73031d288cd8548c765cab8539d7c8cb4859 /src/or | |
parent | 51cdd30c01c47e3522bd49a23a83a566cf4de5a7 (diff) | |
download | tor-69271b2a383f6fe53ed7d5ca21cc4bd89c25de17.tar.gz tor-69271b2a383f6fe53ed7d5ca21cc4bd89c25de17.zip |
Reuse get_string_from_pipe() in log_from_pipe().
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/transports.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index 930cb8c0ce..392c43decd 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -157,8 +157,6 @@ configure_proxy(managed_proxy_t *mp) char stdout_buf[200]; while (1) { - memset(stdout_buf, 0, sizeof(stdout_buf)); - r = get_string_from_pipe(mp->stdout, stdout_buf, sizeof(stdout_buf) - 1); |