masqmail

diff src/rewrite.c @ 15:f671821d8222

code beautifying; 0 -> \0 if appropriate
author meillo@marmaro.de
date Thu, 06 Nov 2008 09:18:38 +0100
parents 26e34ae9a3e3
children 681863fdafbb
line diff
     1.1 --- a/src/rewrite.c	Wed Oct 29 21:21:26 2008 +0100
     1.2 +++ b/src/rewrite.c	Thu Nov 06 09:18:38 2008 +0100
     1.3 @@ -54,7 +54,7 @@
     1.4  			if (*p == ',')
     1.5  				p++;
     1.6  
     1.7 -			new_hdr = g_strconcat(new_hdr, rewr_string, *p != 0 ? "," : NULL, NULL);
     1.8 +			new_hdr = g_strconcat(new_hdr, rewr_string, *p != '\0' ? "," : NULL, NULL);
     1.9  
    1.10  		} else
    1.11  			return FALSE;