Bryan Drewery 21 yıl önce
ebeveyn
işleme
a356015d3c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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++;
   }