netapi32: Fix copy-paste error (coverity)
André Hentschel
nerv at dawncrow.de
Wed Oct 24 12:27:10 CDT 2012
CID 713006
---
dlls/netapi32/nbt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/netapi32/nbt.c b/dlls/netapi32/nbt.c
index 404fbd9..3cd8a61 100644
--- a/dlls/netapi32/nbt.c
+++ b/dlls/netapi32/nbt.c
@@ -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,
--
1.8.0
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list