Mercurial > gftp.yaz
comparison src/uicommon/gftpui.c @ 469:2ad1916dc611
2004-5-16 Brian Masney <masneyb@gftp.org>
* src/uicommon/gftpui.c lib/gftp.h - added
gftpui_protocol_update_timeout()
* lib/protocols.c - 64 bit fixes. Check to see if the remote site
disconnected
author | masneyb |
---|---|
date | Sun, 16 May 2004 12:52:12 +0000 |
parents | 83cfffb2878a |
children | 4376ffeab64e |
comparison
equal
deleted
inserted
replaced
468:f4354425e88d | 469:2ad1916dc611 |
---|---|
1463 tdata->done = 1; | 1463 tdata->done = 1; |
1464 | 1464 |
1465 return (1); | 1465 return (1); |
1466 } | 1466 } |
1467 | 1467 |
1468 | |
1469 void | |
1470 gftpui_protocol_update_timeout (gftp_request * request) | |
1471 { | |
1472 intptr_t network_timeout; | |
1473 | |
1474 gftp_lookup_request_option (request, "network_timeout", &network_timeout); | |
1475 | |
1476 if (network_timeout > 0) | |
1477 alarm (network_timeout); | |
1478 } | |
1479 |