diff options
author | Eric Leblond <eric@regit.org> | 2013-02-09 21:36:48 +0100 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2013-02-18 16:03:06 +0100 |
commit | 168fb53664894220e3344e4ec4e89f16e699a989 (patch) | |
tree | c5bf964c7dd96f1de4da0fc939780e23356c1d67 /include/ulogd/conffile.h | |
parent | c9f381c03e022a4d468164b94f00ed78322b9e38 (diff) |
Add handling of too long line and arguments.
When an argument or a line is too long, it can not be store
into ulogd configuration and this must results in a error.
Diffstat (limited to 'include/ulogd/conffile.h')
-rw-r--r-- | include/ulogd/conffile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ulogd/conffile.h b/include/ulogd/conffile.h index 0b8ac0e..69a6f70 100644 --- a/include/ulogd/conffile.h +++ b/include/ulogd/conffile.h @@ -18,6 +18,7 @@ enum { ERRMAND, /* mandatory option not found */ ERRUNKN, /* unknown config key */ ERRSECTION, /* section not found */ + ERRTOOLONG, /* string too long */ }; /* maximum line length of config file entries */ |