bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH] * gnutls.c: wgnutls_read_timeout: removed warnings, m


From: Tim Ruehsen
Subject: [Bug-wget] [PATCH] * gnutls.c: wgnutls_read_timeout: removed warnings, moved fcntl stuff outside loop
Date: Mon, 14 May 2012 15:11:30 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )

While removing the compiler warnings about uninitialized vars, I stumbled over 
fcntl calls inside the receive loop. We just have to set the fd NONBLOCK once 
before the loop and back to BLOCKING when the loop is finished.

Tim

Attachment: 0001-gnutls.c-wgnutls_read_timeout-removed-warnings.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]