netapi32: Fix copy-paste error (coverity).

This commit is contained in:
André Hentschel 2012-10-24 19:27:10 +02:00 committed by Alexandre Julliard
parent 8683250033
commit 0b05d4cab1
1 changed files with 1 additions and 1 deletions

View File

@ -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,