Thanks for the patch, I'll check if the problem exists in the current
versions and apply the patch if so :)

Rainer

> -----Original Message-----
> From: Kiss Gabor (Bitman) [mailto:ki...@ssg.ki.iif.hu]
> Sent: Monday, August 02, 2010 1:19 PM
> To: 540...@bugs.debian.org
> Subject: Bug#540807: rsyslog: program name filter ! in the
> configuration cannot be reset
> 
> This patch fixes the bug.
> 
> Gabor
> 
> --- ../../rsyslog-orig/rsyslog-3.18.6/conf.c  2008-12-10
> 19:02:24.000000000 +0100
> +++ conf.c    2010-08-02 13:07:50.213850465 +0200
> @@ -962,8 +962,7 @@
>       if(**pline != '\0' && **pline == '*' && *(*pline+1) == '\0') {
>               dbgprintf("resetting programname filter\n");
>               if(pDfltProgNameCmp != NULL) {
> -                     if((iRet = rsCStrSetSzStr(pDfltProgNameCmp, NULL)) !=
> RS_RET_OK)
> -                             return(iRet);
> +                     rsCStrDestruct(&pDfltProgNameCmp);
>               }
>       } else {
>               dbgprintf("setting programname filter to '%s'\n", *pline);
> 
> 




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to