diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-03-13 00:30:51 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-03-13 00:30:51 +0000 |
commit | 069b26b2d985bca636c19b4a86875cb91988a368 (patch) | |
tree | c52d27261be1ead9d272b2149c5fbbd321632d3c /capture_loop.c | |
parent | 4bafab904cc881b14dbabc9aea2f76ef6d1402a9 (diff) | |
download | wireshark-069b26b2d985bca636c19b4a86875cb91988a368.tar.gz wireshark-069b26b2d985bca636c19b4a86875cb91988a368.tar.bz2 wireshark-069b26b2d985bca636c19b4a86875cb91988a368.zip |
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.
svn path=/trunk/; revision=17608
Diffstat (limited to 'capture_loop.c')
-rw-r--r-- | capture_loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capture_loop.c b/capture_loop.c index a908c5b1a7..f3c8564167 100644 --- a/capture_loop.c +++ b/capture_loop.c @@ -556,7 +556,8 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld, Do, however, warn about the lack of 64-bit support, and warn that WAN devices aren't supported. */ g_snprintf(errmsg, errmsg_len, -"The capture session could not be initiated (%s).", +"The capture session could not be initiated.\n" +"\"%s\"", open_err_str); g_snprintf(secondary_errmsg, secondary_errmsg_len, "\n" |