aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-04-10 08:51:46 +0000
committerGuy Harris <guy@alum.mit.edu>2005-04-10 08:51:46 +0000
commit5e096c5c190fdda32370fa1deeb15004063a743b (patch)
treeff1dac6b2b95068c50cc33c506f046469ab301e8
parent39836021f7016834ca688573514052adf0ca39ab (diff)
Clean up white space, and tweak a comment slightly ("message" in the
error message case referred to the error message text, not the message on the pipe). svn path=/trunk/; revision=14035
-rw-r--r--capture_sync.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/capture_sync.c b/capture_sync.c
index 4e2ba36d7b..db6d5cacca 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -117,11 +117,11 @@ static void sync_pipe_wait_for_child(capture_options *capture_opts, gboolean alw
/*
* Indications sent out on the sync pipe.
*/
-#define SP_CAPSTART ';' /* capture start message */
-#define SP_PACKET_COUNT '*' /* followed by count of packets captured since last message */
-#define SP_ERROR_MSG '!' /* followed by length of error message that follows */
-#define SP_DROPS '#' /* followed by count of packets dropped in capture */
-#define SP_FILE ':' /* followed by length of the name of the last opened file that follows */
+#define SP_CAPSTART ';' /* capture start message */
+#define SP_PACKET_COUNT '*' /* followed by count of packets captured since last message */
+#define SP_ERROR_MSG '!' /* followed by length of error message that follows */
+#define SP_DROPS '#' /* followed by count of packets dropped in capture */
+#define SP_FILE ':' /* followed by length of the name of the last opened file that follows */
@@ -582,7 +582,7 @@ sync_pipe_input_cb(gint source, gpointer user_data)
q++;
nread--;
- /* Read the entire message.
+ /* Read the entire file name.
XXX - if the child hasn't sent it all yet, this could cause us
to hang until they do. */
msg = g_malloc(msglen + 1);