Commit f940c37b authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix breakage of revision 12164 when a non-socket connection to the rc interface is active.

parent 28caec4e
...@@ -131,7 +131,10 @@ void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... ) ...@@ -131,7 +131,10 @@ void __msg_rc( intf_thread_t *p_intf, const char *psz_fmt, ... )
va_start( args, psz_fmt ); va_start( args, psz_fmt );
if( p_intf->p_sys->i_socket == -1 ) if( p_intf->p_sys->i_socket == -1 )
{
vprintf( psz_fmt, args ); vprintf( psz_fmt, args );
printf( "\n" );
}
else else
{ {
net_vaPrintf( p_intf, p_intf->p_sys->i_socket, NULL, psz_fmt, args ); net_vaPrintf( p_intf, p_intf->p_sys->i_socket, NULL, psz_fmt, args );
......
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