diff options
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 | ||