[Privoxy-commits] [privoxy] 06/09: handle_established_connection(): Improve an error message

User Git git at git.privoxy.org
Wed Jun 18 05:47:03 CEST 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit ee2c1f82d7542edcb573882c4d12274132bf93ee
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat May 3 17:31:09 2025 +0200

    handle_established_connection(): Improve an error message
---
 jcc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jcc.c b/jcc.c
index 55a36f52..99aebf0c 100644
--- a/jcc.c
+++ b/jcc.c
@@ -3975,7 +3975,8 @@ static void handle_established_connection(struct client_state *csp)
 
             if (!csp->headers->first->str)
             {
-               log_error(LOG_LEVEL_ERROR, "header search: csp->headers->first->str == NULL, assert will be called");
+               log_error(LOG_LEVEL_ERROR, "Header search failed unexpectedly: "
+                  "csp->headers->first->str == NULL.");
             }
             assert(csp->headers->first->str);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list