# HG changeset patch # User markus schnalke # Date 1315150813 -7200 # Node ID 84e6b552f6ad3a6f76b43a7b8b492bc0cb4c2547 # Parent 92340177150dc403ce140947804a509cf9df4538 minor refactoring diff -r 92340177150d -r 84e6b552f6ad src/conf.c --- a/src/conf.c Sun Sep 04 12:19:41 2011 +0200 +++ b/src/conf.c Sun Sep 04 17:40:13 2011 +0200 @@ -260,7 +260,7 @@ p = line; q = buf; - while ((*p != '\0') && (*p != '/') && (q < buf + 255)) + while (*p && (*p != '/') && (q < buf + 255)) *(q++) = *(p++); *q = '\0';