error message: Sensible message on timeout when transfer size unknown
authorColin Hogben <Colin.Hogben@ccfe.ac.uk>
Mon, 13 Jan 2014 15:00:38 +0000 (15:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jan 2014 15:54:10 +0000 (16:54 +0100)
commitbbc1705fa916a92a724f2bfbf75b0ce2f970de9e
tree6ea40ea38b5d285827b9110c5367c4aff6e0829d
parent87ade5f0eb0d40c14ba65b04d309a4f52a49c1be
error message: Sensible message on timeout when transfer size unknown

A transfer timeout could result in an error message such as "Operation
timed out after 3000 milliseconds with 19 bytes of -1 received".  This
patch removes the non-sensical "of -1" when the size of the transfer
is unknown, mirroring the logic in lib/transfer.c
lib/multi.c