aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-22 21:25:11 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-22 21:25:11 +0000
commit070ac884e4a38152557364347b9d7d1220841e52 (patch)
tree974bb2866d1e8f216568adb7768b7da792254393
parent946ec3a86545a52b72825b6044353724c9557aba (diff)
Note that we should supply a detailed explanation of syntax errors, so
we can say more than just that there was a "Syntax error" in the preferences file. svn path=/trunk/; revision=3772
-rw-r--r--prefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/prefs.h b/prefs.h
index a7daa2b4b8..da6289f019 100644
--- a/prefs.h
+++ b/prefs.h
@@ -1,7 +1,7 @@
/* prefs.h
* Definitions for preference handling routines
*
- * $Id: prefs.h,v 1.30 2001/05/31 08:36:41 guy Exp $
+ * $Id: prefs.h,v 1.31 2001/07/22 21:25:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -205,6 +205,9 @@ void free_prefs(e_prefs *pr);
* as an argument to a "-o" option, parse it and set the preference in
* question. Return an indication of whether it succeeded or failed
* in some fashion.
+ *
+ * XXX - should supply, for syntax errors, a detailed explanation of
+ * the syntax error.
*/
#define PREFS_SET_OK 0 /* succeeded */
#define PREFS_SET_SYNTAX_ERR 1 /* syntax error in string */