diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:15:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-09-29 01:15:11 +0000 |
commit | 6d065e2eb2792e6b4add180d7ac6190ecff3f925 (patch) | |
tree | 9705008887dc92c151701e1222c26140e4d98246 /sync_pipe.h | |
parent | 343fa12c8260ecb9e98956871cff7cf0a6194051 (diff) | |
download | wireshark-6d065e2eb2792e6b4add180d7ac6190ecff3f925.tar.gz wireshark-6d065e2eb2792e6b4add180d7ac6190ecff3f925.tar.bz2 wireshark-6d065e2eb2792e6b4add180d7ac6190ecff3f925.zip |
Don't hardcode the notion that the sync pipe is the standard output into
sync_pipe_errmsg_to_parent(); have it take the FD for the sync pipe as
an argument.
svn path=/trunk/; revision=23024
Diffstat (limited to 'sync_pipe.h')
-rw-r--r-- | sync_pipe.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sync_pipe.h b/sync_pipe.h index bc063839ae..51c3cd5fa3 100644 --- a/sync_pipe.h +++ b/sync_pipe.h @@ -1,5 +1,6 @@ /* sync_pipe.h - * Low-level synchronization pipe routines for use by Wireshark and dumpcap + * Low-level synchronization pipe routines for use by Wireshark/TShark + * and dumpcap * * $Id$ * @@ -73,7 +74,7 @@ pipe_write_block(int pipe, char indicator, const char *msg); /** the child encountered an error, notify the parent */ extern void -sync_pipe_errmsg_to_parent(const char *error_msg, +sync_pipe_errmsg_to_parent(int pipe, const char *error_msg, const char *secondary_error_msg); #endif /* sync_pipe.h */ |