diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-16 20:05:50 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-17 01:55:48 -0400 |
commit | e7216d112aff3ba4ce196db95b86d77d5a1b234e (patch) | |
tree | 26b7e09325919ebff2cb06396250e3c4e7ea2982 /src/journal/journald.conf | |
parent | cc64d0175a3c2c974709e9962c00fbe04d74c43f (diff) |
microhttpd-util: use static buffer for static messages
Most of the messages we send do not require a allocating and
freeing a buffer, to optimize this by using const strings.
Also, rename respond_error to mhd_respond*, since it is used
not only for errors.
Make use of information from printf to avoid one extra call to
strlen.
Diffstat (limited to 'src/journal/journald.conf')
0 files changed, 0 insertions, 0 deletions