Mercurial > masqmail
comparison 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 |
comparison
equal
deleted
inserted
replaced
14:a8f3424347dc | 15:f671821d8222 |
---|---|
52 | 52 |
53 p = addr_end; | 53 p = addr_end; |
54 if (*p == ',') | 54 if (*p == ',') |
55 p++; | 55 p++; |
56 | 56 |
57 new_hdr = g_strconcat(new_hdr, rewr_string, *p != 0 ? "," : NULL, NULL); | 57 new_hdr = g_strconcat(new_hdr, rewr_string, *p != '\0' ? "," : NULL, NULL); |
58 | 58 |
59 } else | 59 } else |
60 return FALSE; | 60 return FALSE; |
61 } | 61 } |
62 tmp = (hdr->value - hdr->header); | 62 tmp = (hdr->value - hdr->header); |