Explorar el Código

* Small compile warning

svn: 853
Bryan Drewery hace 22 años
padre
commit
947aa22c23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)