Commit 683c8d53 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

smb: fix inverted logic

parent 0326e1cd
......@@ -527,7 +527,7 @@ static void Win32AddConnection( stream_t *p_access, const char *psz_server,
i_result = WNetAddConnection2( &net_resource, psz_pwd, psz_user, 0 );
if( i_result != NO_ERROR )
if( i_result == NO_ERROR )
{
msg_Dbg( p_access, "connected to %s", psz_remote );
}
......
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