diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-07 19:51:20 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-07 19:51:20 +0300 |
commit | c375e5aa1cb4e5976b98470e840d8ebc99bf5d14 (patch) | |
tree | 2f0fe97fabbb73b9d2c743948a7129c778f4ad07 /src/microhttpd/internal.h | |
parent | 56b131d9ec5f04f9d16b42886fb942eb378bfd16 (diff) | |
download | libmicrohttpd-c375e5aa1cb4e5976b98470e840d8ebc99bf5d14.tar.gz libmicrohttpd-c375e5aa1cb4e5976b98470e840d8ebc99bf5d14.zip |
Partial revert of 82abaee62f000d379646ee412af45a1f8a1ddc87
No need to process part of code if some variables length are zeros.
Non-NULL pointers can point to zero-length strings, but if pointer is
NULL the length is always zero.
For example 'req_body' could be not be NULL, but as long as
'req_body_size' is zero, no chunk must be added.
Diffstat (limited to 'src/microhttpd/internal.h')
0 files changed, 0 insertions, 0 deletions