Changed the len type to ssize_t because we need to detect errors in the

recv() call.  Thanks to Tom Cross for discovering this bug.
This commit is contained in:
Robert James Kaes committed 2002-04-26 19:33:09 +00:00
1 parent 9554989110
commit 1a8c914dd2
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
2002-04-26 Robert James Kaes <rjkaes@flarenet.com>
* src/reqs.c (connect_to_tunnel): Changed the len type to an
signed integer so that we can detect error conditions. Thanks to
Tom Cross for pointing out this problem.
* src/log.c (send_stored_logs): Check the return value of
hashmap_first() since it could be -1, indicating an empty hashmap.