diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-04-13 18:53:06 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-04-13 22:18:10 -0400 |
commit | 206fafa37d7efbc0ec0ed04eeab1d926a37d5bd0 (patch) | |
tree | 26615ae930d16310fc4f1fea3fcf8da3e4680ee3 /src/log.c | |
parent | 20b6ef9985852867d8b729bbdf33b5ab107fa394 (diff) | |
download | lighttpd-git-206fafa37d7efbc0ec0ed04eeab1d926a37d5bd0.tar.gz |
[core] quiet compiler warning
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -200,6 +200,7 @@ log_buffer_vsprintf (buffer * const restrict b, /* need to encode log line * copy original line fragment, append encoded line to buffer, free copy */ char * const src = (char *)malloc(n); + ck_assert(src); memcpy(src, s, n); /*(note: not '\0'-terminated)*/ buffer_truncate(b, blen); buffer_append_string_c_escaped(b, src, n); |