Commit 0b05d4ca authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

netapi32: Fix copy-paste error (coverity).

parent 86832500
......@@ -1003,7 +1003,7 @@ static UCHAR NetBTCall(void *adapt, PNCB ncb, void **sess)
setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, (char*)&timeout,
sizeof(timeout));
}
if (ncb->ncb_rto > 0)
if (ncb->ncb_sto > 0)
{
timeout = ncb->ncb_sto * 500;
setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, (char*)&timeout,
......
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