summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-19 15:12:45 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-19 15:12:45 +0200
commit5227871598f936f4ae949f2f01ac86c8ab907f50 (patch)
tree2fa433a953c88c1732739010c250dc074b18be16
parentae5fc5834418ddd3888f45d5e0ed4fc164895822 (diff)
downloadrsyslog-5227871598f936f4ae949f2f01ac86c8ab907f50.tar.gz
rsyslog-5227871598f936f4ae949f2f01ac86c8ab907f50.tar.bz2
rsyslog-5227871598f936f4ae949f2f01ac86c8ab907f50.zip
bugfix: debug output indicated improper queue type
-rw-r--r--ChangeLog1
-rw-r--r--runtime/queue.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 96fdb5e8..a90e53c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ Version 7.1.4 [devel] 2012-09-??
This function was called at various places, most importantly during
"last messages repeated n times" processing and omruleset. If CEE(JSON)
data was present, it was lost as part of the copy process.
+- bugfix: debug output indicated improper queue type
---------------------------------------------------------------------------
Version 7.1.3 [devel] 2012-09-17
- introduced "set" and "unset" config statements
diff --git a/runtime/queue.c b/runtime/queue.c
index 2108e231..90ffc0a0 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -232,12 +232,16 @@ getQueueTypeName(queueType_t t)
switch(t) {
case QUEUETYPE_FIXED_ARRAY:
r = "FixedArray";
+ break;
case QUEUETYPE_LINKEDLIST:
r = "LinkedList";
+ break;
case QUEUETYPE_DISK:
r = "Disk";
+ break;
case QUEUETYPE_DIRECT:
r = "Direct";
+ break;
}
return r;
}