diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-21 09:41:56 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-21 09:41:56 +0000 |
commit | 227c44dbe0f3ce8ab465829c2d6114d5e6b38470 (patch) | |
tree | a15b84c5f20af5ac42687424e71fd20c5e61ad14 /obj.c | |
parent | 4ff521048dbab0557c863c28321693e1f31c6a96 (diff) | |
download | rsyslog-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |