[Nagiosplug-checkins] CVS: nagiosplug/plugins check_real.c,1.4.2.1,1.4.2.2
Subhendu Ghosh
sghosh at users.sourceforge.net
Fri Jun 6 17:47:08 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv30236
Modified Files:
Tag: r1_3_0
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.4.2.1
retrieving revision 1.4.2.2
diff -C2 -r1.4.2.1 -r1.4.2.2
*** check_real.c 16 Apr 2003 15:31:08 -0000 1.4.2.1
--- check_real.c 7 Jun 2003 00:46:41 -0000 1.4.2.2
***************
*** 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