Parcourir la source

* Small compile warning

svn: 853
Bryan Drewery il y a 22 ans
Parent
commit
947aa22c23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/conf.c

+ 1 - 1
src/conf.c

@@ -426,7 +426,7 @@ int readconf(char *cfile, int bits)
   while (fgets(inbuf, sizeof inbuf, f) != NULL) {
     char *line = NULL, *temp_ptr = NULL, *p = NULL;
 
-    if (p = strchr(inbuf, '\n'))
+    if ((p = strchr(inbuf, '\n')))
       *p = 0;
 
     if (enc)