=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: netapi32: Fix copy-paste error ( coverity).
Alexandre Julliard
julliard at winehq.org
Wed Oct 24 13:39:42 CDT 2012
Module: wine
Branch: master
Commit: 0b05d4cab1fd557df39187676e836eed4f70191a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b05d4cab1fd557df39187676e836eed4f70191a
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Oct 24 19:27:10 2012 +0200
netapi32: Fix copy-paste error (coverity).
---
dlls/netapi32/nbt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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,
More information about the wine-cvs
mailing list