diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-02-03 03:11:53 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-02-04 03:18:16 -0500 |
commit | c46ea259127ae1eaf443ae98ab65e538456716cc (patch) | |
tree | 9e57caf1e4cb714d248640acc9ccc4c6eba969cc | |
parent | 76b8298f0367e7c1386e228ab4fdbfa41642cfff (diff) | |
download | lighttpd-git-c46ea259127ae1eaf443ae98ab65e538456716cc.tar.gz |
[core] path-info in debug trace may be unset
path-info in debug trace (debug.log-request-handling) may be unset
-rw-r--r-- | src/response.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/response.c b/src/response.c index c9edcefd..fadab9f9 100644 --- a/src/response.c +++ b/src/response.c @@ -540,9 +540,8 @@ http_response_prepare (request_st * const r) log_error(r->conf.errh, __FILE__, __LINE__, "URI : %s", r->uri.path.ptr); log_error(r->conf.errh, __FILE__, __LINE__, - "Pathinfo : %s", r->pathinfo.ptr - ? r->pathinfo.ptr - : ""); + "Pathinfo : %.*s", + BUFFER_INTLEN_PTR(&r->pathinfo)); } /* call the handlers */ |