Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
a356015d3c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/misc.c

+ 2 - 2
src/misc.c

@@ -133,7 +133,7 @@ int remove_crlf(char *line)
     *p = 0;
     removed++;
   } 
-  if ((p = strchr(line, '\r')))
+  if ((p = strchr(line, '\r'))) {
     *p = 0;
     removed++;
   }
@@ -149,7 +149,7 @@ int remove_crlf_r(char *line)
     *p = 0;
     removed++;
   } 
-  if ((p = strrchr(line, '\r')))
+  if ((p = strrchr(line, '\r'))) {
     *p = 0;
     removed++;
   }