From 6d065e2eb2792e6b4add180d7ac6190ecff3f925 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 29 Sep 2007 01:15:11 +0000 Subject: 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 --- sync_pipe.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sync_pipe.h') 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 */ -- cgit v1.2.3