diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-22 21:25:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-22 21:25:11 +0000 |
commit | 070ac884e4a38152557364347b9d7d1220841e52 (patch) | |
tree | 974bb2866d1e8f216568adb7768b7da792254393 | |
parent | 946ec3a86545a52b72825b6044353724c9557aba (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |