aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-03-01 01:46:52 +0000
committerGuy Harris <guy@alum.mit.edu>2006-03-01 01:46:52 +0000
commit8ac0325b2b6ccac39ee1304b31fd4128b9b2d748 (patch)
tree169dfe62b85d7c57bd84475eab55f6b0c7de8626 /capture_info.h
parentaed93fa46a3e16ac8c48aa562be70eec4b5ff81d (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. svn path=/trunk/; revision=17437
Diffstat (limited to 'capture_info.h')
-rw-r--r--capture_info.h2
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);