Explorar o código

remove spurious CRLF

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@231 f882894a-f735-0410-b71e-b25c423dba1c
Karl DeBisschop %!s(int64=23) %!d(string=hai) anos
pai
achega
202a5e4df9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_http.c

+ 1 - 1
plugins/check_http.c

@@ -650,7 +650,7 @@ check_http (void)
 		}
 
 		/* send a newline so the server knows we're done with the request */
-		asprintf (&buf, "\r\n\r\n");
+		asprintf (&buf, "\r\n");
 		send (sd, buf, strlen (buf), 0);
 #ifdef HAVE_SSL
 	}