summaryrefslogtreecommitdiffstats
path: root/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-10 15:51:16 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-10 15:51:16 +0000
commit180bcdfa3f4a16e7a92869cdb34e6bdb7778de04 (patch)
treea05745afc07bfd945f8696fcddfc97f656919c54 /module-template.h
parentc6b8e6e5fe60556e5bd581a8cba90df23bcc1ebf (diff)
downloadrsyslog-180bcdfa3f4a16e7a92869cdb34e6bdb7778de04.tar.gz
rsyslog-180bcdfa3f4a16e7a92869cdb34e6bdb7778de04.tar.xz
rsyslog-180bcdfa3f4a16e7a92869cdb34e6bdb7778de04.zip
fixed a bug that in --enable-debug mode caused an assertion when the
discard action was used
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/module-template.h b/module-template.h
index 05ef22a7..edf84a12 100644
--- a/module-template.h
+++ b/module-template.h
@@ -100,7 +100,7 @@ static rsRetVal doAction(uchar __attribute__((unused)) **ppString, unsigned __at
DEFiRet;
#define CODESTARTdoAction \
- assert(ppString != NULL);
+ /* ppString may be NULL if the output module requested no strings */
#define ENDdoAction \
return iRet;\