Commit 87c11234 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix corner case introduced in HTTPd IPv6 patch

parent b45ccdd5
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment