Ver Fonte

* Small compile warning

svn: 853
Bryan Drewery há 22 anos atrás
pai
commit
947aa22c23
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {
   while (fgets(inbuf, sizeof inbuf, f) != NULL) {
     char *line = NULL, *temp_ptr = NULL, *p = NULL;
     char *line = NULL, *temp_ptr = NULL, *p = NULL;
 
 
-    if (p = strchr(inbuf, '\n'))
+    if ((p = strchr(inbuf, '\n')))
       *p = 0;
       *p = 0;
 
 
     if (enc)
     if (enc)