diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-23 07:46:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-23 07:46:58 +0000 |
commit | 15fe575899cfc302565b3a420692c4e7fac84b74 (patch) | |
tree | 6926ec4e749c5915fc8b6fdcea8e124f48e6b6b2 /file.h | |
parent | 93be885871f70752e1f4c487452104ef1b8aeed1 (diff) | |
download | wireshark-15fe575899cfc302565b3a420692c4e7fac84b74.tar.gz |
Make "save_cap_file()" return a Boolean (TRUE on success, FALSE on
failure) - and don't use "err" to determine success or failure, as it's
not set in some failure cases.
svn path=/trunk/; revision=5528
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.92 2002/02/24 09:25:34 guy Exp $ + * $Id: file.h,v 1.93 2002/05/23 07:46:58 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -104,7 +104,7 @@ int start_tail_cap_file(char *, gboolean, capture_file *); read_status_t continue_tail_cap_file(capture_file *, int, int *); read_status_t finish_tail_cap_file(capture_file *, int *); /* size_t read_frame_header(capture_file *); */ -int save_cap_file(char *, capture_file *, gboolean, gboolean, guint); +gboolean save_cap_file(char *, capture_file *, gboolean, gboolean, guint); int filter_packets(capture_file *cf, gchar *dfilter); void colorize_packets(capture_file *); |