obs-outputs: Fix assign instead of compare on socket address type

Detected by Coverity Scan (CID 92187, 92170)
master
Richard Stanway 2016-04-13 02:10:06 +02:00
parent 5191622d21
commit c42f666b02
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ static void win32_log_interface_type(struct rtmp_stream *stream)
if (rtmp->m_bindIP.addrLen == 0) if (rtmp->m_bindIP.addrLen == 0)
source_addr = 0; source_addr = 0;
else if (rtmp->m_bindIP.addr.ss_family = AF_INET) else if (rtmp->m_bindIP.addr.ss_family == AF_INET)
source_addr = (*(struct sockaddr_in*)&rtmp->m_bindIP) source_addr = (*(struct sockaddr_in*)&rtmp->m_bindIP)
.sin_addr.S_un.S_addr; .sin_addr.S_un.S_addr;
else else