diff options
Diffstat (limited to 'bbot/tftp.cxx')
-rw-r--r-- | bbot/tftp.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bbot/tftp.cxx b/bbot/tftp.cxx index 9c783c5..27d58a4 100644 --- a/bbot/tftp.cxx +++ b/bbot/tftp.cxx @@ -92,12 +92,13 @@ namespace bbot throw_system_error (errno); } else if (r == 0) // Timeout. + { + sec = 0; return false; + } if (FD_ISSET (fd, &rd)) { - text << "connection"; - // The inetd "protocol" is to pass the socket as stdin/stdout file // descriptors. // |