diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 15:20:39 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 15:20:39 +0300 |
commit | d1d4e15a97932b0122eb0c4a6d54453269c85792 (patch) | |
tree | 2608f823b884915f9900e499b627dfd329ea38c3 /src/examples | |
parent | 424abcd21daf7000fa826a03de6188ea608a50ec (diff) | |
download | libmicrohttpd-d1d4e15a97932b0122eb0c4a6d54453269c85792.tar.gz libmicrohttpd-d1d4e15a97932b0122eb0c4a6d54453269c85792.zip |
Stick to C89 standard for a while
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/chunked_example.c | 8 | ||||
-rw-r--r-- | src/examples/https_fileserver_example.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/examples/chunked_example.c b/src/examples/chunked_example.c index 9bf73e34..26dacd3b 100644 --- a/src/examples/chunked_example.c +++ b/src/examples/chunked_example.c | |||
@@ -162,11 +162,11 @@ main (int argc, char *const *argv) | |||
162 | "Port must be a number between 1 and 65535\n"); | 162 | "Port must be a number between 1 and 65535\n"); |
163 | return 1; | 163 | return 1; |
164 | } | 164 | } |
165 | d = MHD_start_daemon (// MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, | 165 | d = MHD_start_daemon (/* MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, */ |
166 | MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, | 166 | MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, |
167 | // MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | MHD_USE_POLL, | 167 | /* MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | MHD_USE_POLL, */ |
168 | // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | MHD_USE_POLL, | 168 | /* MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG | MHD_USE_POLL, */ |
169 | // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, | 169 | /* MHD_USE_THREAD_PER_CONNECTION | MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, */ |
170 | (uint16_t) port, | 170 | (uint16_t) port, |
171 | NULL, NULL, | 171 | NULL, NULL, |
172 | &ahc_echo, NULL, | 172 | &ahc_echo, NULL, |
diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c index 818c8d55..09938fcf 100644 --- a/src/examples/https_fileserver_example.c +++ b/src/examples/https_fileserver_example.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #define BUF_SIZE 1024 | 43 | #define BUF_SIZE 1024 |
44 | #define MAX_URL_LEN 255 | 44 | #define MAX_URL_LEN 255 |
45 | 45 | ||
46 | // TODO remove if unused | 46 | /* TODO remove if unused */ |
47 | #define CAFILE "ca.pem" | 47 | #define CAFILE "ca.pem" |
48 | #define CRLFILE "crl.pem" | 48 | #define CRLFILE "crl.pem" |
49 | 49 | ||