aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-13 00:30:51 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-13 00:30:51 +0000
commit7b15f1077d07285e7242728173b0d62b90ba0c58 (patch)
treec52d27261be1ead9d272b2149c5fbbd321632d3c /capture.h
parentf657b4226322c835c6982dd78a0970d30e3a295c (diff)
fix bug #803: sync pipe on Win32 wasn't set to binary mode, so error message transport failed between Ethereal and dumpcap.
I've also changed the way the secondary error message is transported from former "header message 0 secondary 0" to "header header message 0 header secondary 0" as that might be a bit more clearer, and I'll need it for further development anyway. I was using this while debugging and not recognizing the real problem - for about four hours :-(. I'll need this feature when doing the interface (and link layer type) browsing later (transferring this data from dumpcap to Ethereal) to get a full blown privilege seperation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17608 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index f36dd50348..0bc6ed75e6 100644
--- a/capture.h
+++ b/capture.h
@@ -68,7 +68,7 @@ extern void capture_input_drops(capture_options *capture_opts, int dropped);
/**
* Capture child told us that an error has occurred while starting the capture.
*/
-extern void capture_input_error_message(capture_options *capture_opts, char *error_message);
+extern void capture_input_error_message(capture_options *capture_opts, char *error_message, char *secondary_error_msg);
/**
* Capture child told us that an error has occurred while parsing a