summaryrefslogtreecommitdiffstats
path: root/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-21 09:41:56 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-21 09:41:56 +0000
commit227c44dbe0f3ce8ab465829c2d6114d5e6b38470 (patch)
treea15b84c5f20af5ac42687424e71fd20c5e61ad14 /obj.c
parent4ff521048dbab0557c863c28321693e1f31c6a96 (diff)
downloadrsyslog-227c44dbe0f3ce8ab465829c2d6114d5e6b38470.tar.gz
rsyslog-227c44dbe0f3ce8ab465829c2d6114d5e6b38470.tar.xz
rsyslog-227c44dbe0f3ce8ab465829c2d6114d5e6b38470.zip
cleanup for 3.11.4v3-11-4
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/obj.c b/obj.c
index 624cb58c..fc6dff67 100644
--- a/obj.c
+++ b/obj.c
@@ -278,6 +278,9 @@ rsRetVal objSerializeProp(strm_t *pStrm, uchar *pszPropName, varType_t propType,
ABORT_FINALIZE(RS_RET_PROVIDED_BUFFER_TOO_SMALL);
pszBuf = szBuf;
break;
+ default:
+ dbgprintf("invalid VARTYPE %d\n", propType);
+ break;
}
/* cookie */
@@ -519,6 +522,9 @@ static rsRetVal objDeserializeProperty(var_t *pProp, strm_t *pStrm)
case VARTYPE_SYSLOGTIME:
CHKiRet(objDeserializeSyslogTime(&pProp->val.vSyslogTime, pStrm));
break;
+ default:
+ dbgprintf("invalid VARTYPE %d\n", pProp->varType);
+ break;
}
/* we should now be at the end of the line. So the next char must be \n */