Parcourir la source

forgot to check for tabs vs spaces in merge

madlohe il y a 6 ans
Parent
commit
b2356da6ba
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      plugins/check_http.c

+ 4 - 4
plugins/check_http.c

@@ -1233,10 +1233,10 @@ check_http (void)
 
   /* find header info and null-terminate it */
   header = page;
-	while (strlen(page)) {
-		if (!strncmp(page, "\r\n\r\n", 4) || !strncmp(page, "\n\n", 2))
-		 break;
-		while (*page == '\r' || *page == '\n') { ++page; }
+  while (strlen(page)) {
+    if (!strncmp(page, "\r\n\r\n", 4) || !strncmp(page, "\n\n", 2))
+     break;
+    while (*page == '\r' || *page == '\n') { ++page; }
     page += (size_t) strcspn (page, "\r\n");
     save_char = *page;
     *page = '\0';