aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-12 19:21:49 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-12 19:44:13 +0300
commit1e314fd50a9ba0357d3a722ebcc7c125a37c06b1 (patch)
tree93239b213c70e8f9bf921fca08e9713fbf532cd4 /src/include/microhttpd.h
parent7a6a9d14a4aa0c745e2804a9fe4e876bbb624217 (diff)
downloadlibmicrohttpd-1e314fd50a9ba0357d3a722ebcc7c125a37c06b1.tar.gz
libmicrohttpd-1e314fd50a9ba0357d3a722ebcc7c125a37c06b1.zip
postprocessor: use NULL for 'data' for callback if no value is present
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 6cac54cf..d10ed759 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -96,7 +96,7 @@ extern "C"
96 * they are parsed as decimal numbers. 96 * they are parsed as decimal numbers.
97 * Example: 0x01093001 = 1.9.30-1. 97 * Example: 0x01093001 = 1.9.30-1.
98 */ 98 */
99#define MHD_VERSION 0x00097312 99#define MHD_VERSION 0x00097313
100 100
101/* If generic headers don't work on your platform, include headers 101/* If generic headers don't work on your platform, include headers
102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t',
@@ -2448,7 +2448,7 @@ typedef void
2448 * @param content_type mime-type of the data, NULL if not known 2448 * @param content_type mime-type of the data, NULL if not known
2449 * @param transfer_encoding encoding of the data, NULL if not known 2449 * @param transfer_encoding encoding of the data, NULL if not known
2450 * @param data pointer to @a size bytes of data at the 2450 * @param data pointer to @a size bytes of data at the
2451 * specified offset 2451 * specified offset, NULL if no value is present
2452 * @param off offset of data in the overall value 2452 * @param off offset of data in the overall value
2453 * @param size number of bytes in @a data available 2453 * @param size number of bytes in @a data available
2454 * @return #MHD_YES to continue iterating, 2454 * @return #MHD_YES to continue iterating,