diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-29 08:35:26 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-29 08:35:26 +0000 |
commit | 8b73362a4a88aaa3642db398d17e65eab871d9ed (patch) | |
tree | 8a0d6b8de07781a347a081cb876e9868016ee627 /plugins | |
parent | 16bf2379c0400f72cba72063b3f2edce14236f34 (diff) | |
download | rsyslog-8b73362a4a88aaa3642db398d17e65eab871d9ed.tar.gz rsyslog-8b73362a4a88aaa3642db398d17e65eab871d9ed.tar.xz rsyslog-8b73362a4a88aaa3642db398d17e65eab871d9ed.zip |
- improved debug support a bit (assertions)
- restructured code, moved some part out of syslogd.c to action.c, where
they belong (still some more to do in that regard ;))
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imklog/imklog.c | 6 | ||||
-rw-r--r-- | plugins/imudp/imudp.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 427d1b5e..d4007899 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -145,7 +145,7 @@ static rsRetVal writeSyslogV(int iPRI, const char *szFmt, va_list va) logmsg(iPRI, pMsg, INTERNAL_MSG); finalize_it: - return iRet; + RETiRet; } /* And now the same with variable arguments */ @@ -211,7 +211,7 @@ rsRetVal Syslog(int priority, char *fmt, ...) va_end(ap); } - return iRet; + RETiRet; } @@ -623,7 +623,7 @@ CODESTARTrunInput break; } } - return iRet; + RETiRet; ENDrunInput diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index baa193d5..d68e3772 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -117,7 +117,7 @@ static rsRetVal addListner(void __attribute__((unused)) *pVal, uchar *pNewVal) finalize_it: free(pNewVal); /* in any case, this is no longer needed */ - return iRet; + RETiRet; } |