Bryan Drewery 21 lat temu
rodzic
commit
a356015d3c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/misc.c

+ 2 - 2
src/misc.c

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