diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2006-09-27 16:15:06 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2006-09-27 16:15:06 +0000 |
commit | 9012d7738aaec451a2ac996e3fe210d9f4b51424 (patch) | |
tree | 382ee5ff178c387cc7edfaec5c079257efa2642c /syslogd.c | |
parent | 814b8fa78b90928291127edc42d7645a21203150 (diff) | |
download | rsyslog-9012d7738aaec451a2ac996e3fe210d9f4b51424.tar.gz rsyslog-9012d7738aaec451a2ac996e3fe210d9f4b51424.tar.xz rsyslog-9012d7738aaec451a2ac996e3fe210d9f4b51424.zip |
removed some left-over dprintf's which were not intended for production
code
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -3157,10 +3157,6 @@ static char *MsgGetProp(struct msg *pMsg, struct templateEntry *pTpe, pFld = pRes; while(*pFld && iCurrFld < pTpe->data.field.iToPos) { /* skip fields until the requested field or end of string is found */ -dprintf("compare %d != %d: %d (field %d)\n", (unsigned char) *pFld, pTpe->data.field.field_delim, - ((unsigned char) *pFld != pTpe->data.field.field_delim), - pFld -); while(*pFld && (unsigned char) *pFld != pTpe->data.field.field_delim) ++pFld; /* skip to field terminator */ if(*pFld == pTpe->data.field.field_delim) { @@ -3182,7 +3178,6 @@ dprintf("compare %d != %d: %d (field %d)\n", (unsigned char) *pFld, pTpe->data.f /* we got our end pointer, now do the copy */ /* TODO: code copied from below, this is a candidate for a separate function */ iLen = pFldEnd - pFld + 1; /* the +1 is for an actual char, NOT \0! */ -dprintf("field len %d, start '%s'\n", iLen, pFld); pBufStart = pBuf = malloc((iLen + 1) * sizeof(char)); if(pBuf == NULL) { if(*pbMustBeFreed == 1) |