summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65c1c53)
raw | patch | inline | side by side (parent: 65c1c53)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sat, 7 Jun 2003 00:36:26 +0000 (00:36 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sat, 7 Jun 2003 00:36:26 +0000 (00:36 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@537 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_real.c | patch | blob | history |
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 272aab61d85d0531e99c7b188ee44dbd2c4aade3..1744b329a81ba11d90e6b9a3a39cfd6a18163758 100644 (file)
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
/* Part I - Server Check */
/* send the OPTIONS request */
- sprintf (buffer, "OPTIONS rtsp://%s:%d RTSP/1.0\n", host_name, server_port);
+ sprintf (buffer, "OPTIONS rtsp://%s:%d RTSP/1.0\r\n", host_name, server_port);
result = send (sd, buffer, strlen (buffer), 0);
/* send the header sync */
- sprintf (buffer, "CSeq: 1\n");
+ sprintf (buffer, "CSeq: 1\r\n");
result = send (sd, buffer, strlen (buffer), 0);
/* send a newline so the server knows we're done with the request */
- sprintf (buffer, "\n");
+ sprintf (buffer, "\r\n");
result = send (sd, buffer, strlen (buffer), 0);
/* watch for the REAL connection string */