summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-05-08 09:40:20 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-05-08 09:40:20 +0200
commit0817fc95a810df497c52200c772fac743ca84dde (patch)
treec1e01622f96e4a09d9e87f7d36503f11f494a389 /runtime/rsyslog.h
parent40254dcc8cf3d9ab17f30f417a95709cbf9204bf (diff)
downloadrsyslog-0817fc95a810df497c52200c772fac743ca84dde.tar.gz
rsyslog-0817fc95a810df497c52200c772fac743ca84dde.tar.bz2
rsyslog-0817fc95a810df497c52200c772fac743ca84dde.zip
bugfix: segfault on startup if a disk queue was configure without file name
Now this triggers an error message and the queue is changed to linkedList type.
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index a901d2ef..47b34783 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -412,6 +412,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_EI_INVLD_FILE = -2325,/**< header indicates the file is no .encinfo file */
RS_RET_CRY_INVLD_ALGO = -2326,/**< user specified invalid (unkonwn) crypto algorithm */
RS_RET_CRY_INVLD_MODE = -2327,/**< user specified invalid (unkonwn) crypto mode */
+ RS_RET_QUEUE_DISK_NO_FN = -2328,/**< disk queue configured, but filename not set */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */