mirror of
https://github.com/videolan/vlc.git
synced 2025-01-11 02:08:36 +08:00
Fix corner case introduced in HTTPd IPv6 patch
This commit is contained in:
parent
b45ccdd52d
commit
87c112340b
@ -1340,6 +1340,15 @@ static int RtspCallbackId( httpd_callback_sys_t *p_args,
|
||||
|
||||
rtsp_client_t *rtsp = NULL;
|
||||
|
||||
if( ip == NULL )
|
||||
{
|
||||
answer->i_status = 400;
|
||||
answer->psz_status = strdup( "Internal server error" );
|
||||
answer->i_body = 0;
|
||||
answer->p_body = NULL;
|
||||
break;
|
||||
}
|
||||
|
||||
fprintf( stderr, "HTTPD_MSG_SETUP: unicast ip=%s port=%d\n",
|
||||
ip, i_port );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user