소스 검색

svn: 1573

Bryan Drewery 21 년 전
부모
커밋
a356015d3c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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++;
   }