diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-25 17:18:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-25 17:18:54 -0500 |
commit | 7920ea55b8d994268d2b07f27316b0f34d8f27e5 (patch) | |
tree | 28a06534ce008544ca085688c463fa0c222721b3 /src/common/util.c | |
parent | e5f2f10844dc2445f8cf2f0dc8ec92bc4ce65d63 (diff) | |
download | tor-7920ea55b8d994268d2b07f27316b0f34d8f27e5.tar.gz tor-7920ea55b8d994268d2b07f27316b0f34d8f27e5.zip |
Refactor tor_event_base_once to do what we actually want
This version avoids the timeout system entirely, gives a nicer
interface, and lets us manage allocation explicitly.
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index efda6c07f3..ecd3b59908 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -3647,8 +3647,8 @@ tor_get_exit_code(const process_handle_t *process_handle, /* Process has not exited */ return PROCESS_EXIT_RUNNING; } else if (retval != process_handle->pid) { - log_warn(LD_GENERAL, "waitpid() failed for PID %d: %s", process_handle->pid, - strerror(errno)); + log_warn(LD_GENERAL, "waitpid() failed for PID %d: %s", + process_handle->pid, strerror(errno)); return PROCESS_EXIT_ERROR; } |