diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-10 15:51:16 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-10 15:51:16 +0000 |
commit | 180bcdfa3f4a16e7a92869cdb34e6bdb7778de04 (patch) | |
tree | a05745afc07bfd945f8696fcddfc97f656919c54 /module-template.h | |
parent | c6b8e6e5fe60556e5bd581a8cba90df23bcc1ebf (diff) | |
download | rsyslog-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.h | 2 |
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;\ |