Explorar el Código

Errors (really messages) are always shown in srv_open().

default hace 3 años
padre
commit
b681e71a06
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data.c

+ 1 - 1
data.c

@@ -76,7 +76,7 @@ int srv_open(char *basedir)
         }
     }
 
-    if (ret == 0 && error != NULL)
+    if (error != NULL)
         srv_log(error);
 
     return ret;