FTP: fix bad check of Curl_timeleft() return code
authorDaniel Stenberg <daniel@haxx.se>
Sat, 18 Sep 2010 21:08:32 +0000 (23:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Sep 2010 21:08:32 +0000 (23:08 +0200)
commit8a00c94b0f7a5d7c200817a5261cbff72a405bfc
treeade1233f8843d7e67b0844df7c74a1dc410c07a4
parent9de4b2664312f0e956305a3f6180f6c6eee10e06
FTP: fix bad check of Curl_timeleft() return code

When it returns 0 it means no timeout. Only a negative value means that
we're out of time.
lib/ftp.c