Re: [Bug-wget] timeout question (regarding the code)

2012-03-29 Thread Giuseppe Scrivano
Micah Cowan writes: > On 03/29/2012 11:23 AM, Giuseppe Scrivano wrote: >> Tim Ruehsen writes: >> >>> Hi, >>> >>> the wget man page says a timeout value of 0 means 'forever'. >>> Even if seldom used, 0 seems to be a legal value. >> >> it can't be a legal value. It means the value you are waiti

Re: [Bug-wget] timeout question (regarding the code)

2012-03-29 Thread Micah Cowan
On 03/29/2012 11:23 AM, Giuseppe Scrivano wrote: > Tim Ruehsen writes: > >> Hi, >> >> the wget man page says a timeout value of 0 means 'forever'. >> Even if seldom used, 0 seems to be a legal value. > > it can't be a legal value. It means the value you are waiting for is > immediately availabl

Re: [Bug-wget] timeout question (regarding the code)

2012-03-29 Thread Giuseppe Scrivano
Tim Ruehsen writes: > Hi, > > the wget man page says a timeout value of 0 means 'forever'. > Even if seldom used, 0 seems to be a legal value. it can't be a legal value. It means the value you are waiting for is immediately available. That is not possible when you are waiting for something com

[Bug-wget] timeout question (regarding the code)

2012-03-28 Thread Tim Ruehsen
Hi, the wget man page says a timeout value of 0 means 'forever'. Even if seldom used, 0 seems to be a legal value. There is a warning in gnutls.c about a not initialised value: gnutls.c: In function 'wgnutls_read_timeout': gnutls.c:163:54: warning: 'timer' may be used uninitialized in this functi