Commit 8d963a22 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HTTP: deal with https in warning too

parent 2f800ff5
......@@ -163,9 +163,9 @@ static int Open( vlc_object_t *p_this )
{
int len = path - ++port;
msg_Err( p_access, "\"%.*s\" HTTP port ignored", len, port );
msg_Info( p_access,
"Pass --http-port=%.*s on the command line instead.",
len, port );
msg_Info( p_access, "Pass --%s-port=%.*s on the command line "
"instead.", strcasecmp( p_access->psz_access, "https" )
? "http" : "https", len, port );
}
}
#endif
......
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