Check the return value of hashmap_first()
This commit is contained in:
1 parent
0e7182533c
commit
e9f5b2e75f
2 files changed
+12
-8
No files matched your search
@@ -1,5 +1,8 @@
|
||||
2002-04-26 Robert James Kaes <rjkaes@flarenet.com>
|
||||
|
||||
* src/log.c (send_stored_logs): Check the return value of
|
||||
hashmap_first() since it could be -1, indicating an empty hashmap.
|
||||
|
||||
* src/reqs.c (process_client_headers):
|
||||
(process_server_headers): Test the return value of hashmap_first()
|
||||
since the hashmap could be empty (returning a -1 via hashmap_first.)
|
||||
|
||||
Reference in new issue
Block a user