New upstream version 2.2
This commit is contained in:
parent
ea115afa68
commit
c845af032a
101 changed files with 4649 additions and 22969 deletions
|
@ -163,17 +163,17 @@ main (int argc, char **argv)
|
|||
|
||||
/* Part I - Server Check */
|
||||
|
||||
/* send the OPTIONS request */
|
||||
sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name,
|
||||
/* send the DESCRIBE request */
|
||||
sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\r\n", host_name,
|
||||
server_port, server_url);
|
||||
result = send (sd, buffer, strlen (buffer), 0);
|
||||
|
||||
/* send the header sync */
|
||||
sprintf (buffer, "CSeq: 2\n");
|
||||
sprintf (buffer, "CSeq: 2\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 */
|
||||
|
@ -359,10 +359,10 @@ process_arguments (int argc, char **argv)
|
|||
break;
|
||||
case 'V': /* version */
|
||||
print_revision (progname, NP_VERSION);
|
||||
exit (STATE_OK);
|
||||
exit (STATE_UNKNOWN);
|
||||
case 'h': /* help */
|
||||
print_help ();
|
||||
exit (STATE_OK);
|
||||
exit (STATE_UNKNOWN);
|
||||
case '?': /* usage */
|
||||
usage5 ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue