diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-11-28 21:55:04 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:39:28 -0500 |
commit | 5585cbd08f54f732c32feea276c1a47ec8446c5e (patch) | |
tree | 726a83a6ac0446247535e80856ad3f51a78e69b0 /src/feature/client/transports.h | |
parent | 22cb3c6ce9164920ff81013d5f8dce3c26911af4 (diff) | |
download | tor-5585cbd08f54f732c32feea276c1a47ec8446c5e.tar.gz tor-5585cbd08f54f732c32feea276c1a47ec8446c5e.zip |
Change the Process exit_callback to return bool.
This patch changes our process_t's exit_callback to return a boolean
value. If the returned value is true, the process subsystem will call
process_free() on the given process_t.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/feature/client/transports.h')
-rw-r--r-- | src/feature/client/transports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/client/transports.h b/src/feature/client/transports.h index fbb720aac6..ba8cbf7105 100644 --- a/src/feature/client/transports.h +++ b/src/feature/client/transports.h @@ -145,7 +145,7 @@ STATIC void free_execve_args(char **arg); STATIC void managed_proxy_stdout_callback(process_t *, char *, size_t); STATIC void managed_proxy_stderr_callback(process_t *, char *, size_t); -STATIC void managed_proxy_exit_callback(process_t *, process_exit_code_t); +STATIC bool managed_proxy_exit_callback(process_t *, process_exit_code_t); #endif /* defined(PT_PRIVATE) */ |