diff options
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index b29f48f3..9cab223f 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c | |||
@@ -1634,8 +1634,10 @@ MHD_create_response_from_buffer_with_free_callback_cls (size_t size, | |||
1634 | 1634 | ||
1635 | if ((NULL == buffer) && (size > 0)) | 1635 | if ((NULL == buffer) && (size > 0)) |
1636 | return NULL; | 1636 | return NULL; |
1637 | #if SIZEOF_SIZE_T >= SIZEOF_UINT64_T | ||
1637 | if (MHD_SIZE_UNKNOWN == size) | 1638 | if (MHD_SIZE_UNKNOWN == size) |
1638 | return NULL; | 1639 | return NULL; |
1640 | #endif /* SIZEOF_SIZE_T >= SIZEOF_UINT64_T */ | ||
1639 | r = MHD_calloc_ (1, sizeof (struct MHD_Response)); | 1641 | r = MHD_calloc_ (1, sizeof (struct MHD_Response)); |
1640 | if (NULL == r) | 1642 | if (NULL == r) |
1641 | return NULL; | 1643 | return NULL; |