[Nagiosplug-checkins] CVS: nagiosplug/plugins check_real.c,1.6,1.7
Subhendu Ghosh
sghosh at users.sourceforge.net
Fri Jun 6 17:37:05 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv27041/plugins
Modified Files:
check_real.c
Log Message:
\r\n patch from Mathias
Index: check_real.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_real.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** check_real.c 16 Apr 2003 15:06:31 -0000 1.6
--- check_real.c 7 Jun 2003 00:36:26 -0000 1.7
***************
*** 98,110 ****
/* send the OPTIONS request */
! sprintf (buffer, "OPTIONS rtsp://%s:%d RTSP/1.0\n", host_name, server_port);
result = send (sd, buffer, strlen (buffer), 0);
/* send the header sync */
! sprintf (buffer, "CSeq: 1\n");
result = send (sd, buffer, strlen (buffer), 0);
/* send a newline so the server knows we're done with the request */
! sprintf (buffer, "\n");
result = send (sd, buffer, strlen (buffer), 0);
--- 98,110 ----
/* send the OPTIONS request */
! 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\r\n");
result = send (sd, buffer, strlen (buffer), 0);
/* send a newline so the server knows we're done with the request */
! sprintf (buffer, "\r\n");
result = send (sd, buffer, strlen (buffer), 0);
More information about the Commits
mailing list