kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit c2f66af937f84e24e0c482615eda03bc3d60f6f4
parent 3faf89d83d31de01eacdb04bc7d3fa7de5423b14
Author: Joris Vink <joris@coders.se>
Date:   Thu, 28 Jun 2018 14:53:43 +0200

better error log message

Diffstat:
src/accesslog.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/accesslog.c b/src/accesslog.c @@ -115,7 +115,7 @@ kore_accesslog_write(const void *data, u_int32_t len) logpacket.length, logpacket.agent); if (l == -1) { kore_log(LOG_WARNING, - "kore_accesslog_write(): asprintf() == -1"); + "kore_accesslog_write(): asprintf(): %s", errno_s); return (KORE_RESULT_ERROR); }