diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-06-07 00:36:26 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-06-07 00:36:26 +0000 |
commit | 5911e022bc0be5445633410f88ab4611ac5e6e00 (patch) | |
tree | a83d1625012309d938ddd511f90955ebd1c539ff /plugins/check_real.c | |
parent | 65c1c533082114b92605c8e45c930263ef913c00 (diff) | |
download | monitoring-plugins-5911e022bc0be5445633410f88ab4611ac5e6e00.tar.gz |
\r\n patch from Mathias
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@537 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r-- | plugins/check_real.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c index 272aab61..1744b329 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c @@ -97,15 +97,15 @@ main (int argc, char **argv) /* 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 */ |