masqmail
diff src/conf.c @ 359:84e6b552f6ad
minor refactoring
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sun, 04 Sep 2011 17:40:13 +0200 |
parents | 04744e3e8b18 |
children | 41958685480d |
line diff
1.1 --- a/src/conf.c Sun Sep 04 12:19:41 2011 +0200 1.2 +++ b/src/conf.c Sun Sep 04 17:40:13 2011 +0200 1.3 @@ -260,7 +260,7 @@ 1.4 1.5 p = line; 1.6 q = buf; 1.7 - while ((*p != '\0') && (*p != '/') && (q < buf + 255)) 1.8 + while (*p && (*p != '/') && (q < buf + 255)) 1.9 *(q++) = *(p++); 1.10 *q = '\0'; 1.11