summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-08-01 15:56:42 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-01 15:56:42 +0200
commit9fb96ec34312b6da7b496db0b3d5eb86442fed06 (patch)
tree7ed26c3e86a108885675f1ac239e99e03b08ba39 /runtime
parent46f7f10e4375553e6a94d7e51b604462808bbff1 (diff)
downloadrsyslog-9fb96ec34312b6da7b496db0b3d5eb86442fed06.tar.gz
rsyslog-9fb96ec34312b6da7b496db0b3d5eb86442fed06.tar.xz
rsyslog-9fb96ec34312b6da7b496db0b3d5eb86442fed06.zip
nitfix: remove quirck in new debug message code
Diffstat (limited to 'runtime')
-rw-r--r--runtime/obj.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/obj.c b/runtime/obj.c
index fda6051d..666dd6b0 100644
--- a/runtime/obj.c
+++ b/runtime/obj.c
@@ -668,10 +668,8 @@ static rsRetVal objDeserializeProperty(var_t *pProp, strm_t *pStrm)
finalize_it:
if(Debug && iRet != RS_RET_OK) {
strm.GetCurrOffset(pStrm, &offs);
- if(step == 0) {
- dbgprintf("error %d deserializing property name, offset %lld, step %d\n",
- iRet, offs, step);
- }
+ dbgprintf("error %d deserializing property name, offset %lld, step %d\n",
+ iRet, offs, step);
if(step >= 1) {
dbgprintf("error property name: '%s'\n", rsCStrGetSzStrNoNULL(pProp->pcsName));
}