diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-01 01:46:52 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-03-01 01:46:52 +0000 |
commit | b303599e702e34032d9932788a8b11bc58b1a3aa (patch) | |
tree | 169dfe62b85d7c57bd84475eab55f6b0c7de8626 /capture_info.h | |
parent | 00d8ac3a8941e969fa1e74d72f310cb9dd95d75f (diff) |
Clean up indentation a bit.
In "capture_input_new_file()", don't call the callbacks unless we
succeed in opening the new file. Have "capture_info_new_file()" return
a success/failure indication.
Improve the message logged when we fail to open the new file if we're
only opening it for the quick packet counts. We really should put up an
alert box and give up on the capture at that point.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17437 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_info.h')
-rw-r--r-- | capture_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_info.h b/capture_info.h index fefedbf564..107d9ea931 100644 --- a/capture_info.h +++ b/capture_info.h @@ -37,7 +37,7 @@ extern void capture_info_open(const char *iface); /* new file arrived - (eventually close old wtap), open wtap */ -extern void capture_info_new_file(const char *new_filename); +extern gboolean capture_info_new_file(const char *new_filename); /* new packets arrived - read from wtap, count */ extern void capture_info_new_packets(int to_read); |