From 168fb53664894220e3344e4ec4e89f16e699a989 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sat, 9 Feb 2013 21:36:48 +0100 Subject: 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. --- include/ulogd/conffile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ulogd') 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 */ -- cgit v1.2.3