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:
1 parent
9554989110
commit
1a8c914dd2
2 files changed
+6
-2
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user