aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-05-30 04:03:32 +0000
committerGuy Harris <guy@alum.mit.edu>2008-05-30 04:03:32 +0000
commitffcb64114943c4ff58260c9f9091b38b6365f202 (patch)
treec5f01108009907e722c0cf906859ec736cd9f142 /file.h
parentbe161ba4606520542e562477d15bc71ca111ed95 (diff)
Again, the err_info returned from wtap_read() and wtap_seek_read() is a
g_mallocated string, so it's not const. Fix a comment to reflect reality (err_info is some additional information about the error returned by Wiretap, e.g. some gory details about the error, mainly useful to developers and support people). svn path=/trunk/; revision=25401
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.h b/file.h
index 89e5b89ce4..1979b3875a 100644
--- a/file.h
+++ b/file.h
@@ -461,10 +461,10 @@ void cf_unmark_frame(capture_file *cf, frame_data *frame);
* Convert error number and info to a complete message.
*
* @param err the error number
- * @param err_info the additional info about this error (e.g. filename)
+ * @param err_info a string with additional details about this error
* @return statically allocated error message
*/
-char *cf_read_error_message(int err, const gchar *err_info);
+char *cf_read_error_message(int err, gchar *err_info);
/**
* Merge two (or more) capture files into one.