diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-11-22 16:42:36 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-11-24 19:07:40 +0300 |
commit | 5b73b66e4e224f2d0ea3f739ce4b8db2c7532fad (patch) | |
tree | 1f53e644918c063c9b7a543ef171a8629e8f5f3e | |
parent | 71cff2d6a38e7917480a25c1310e57115ae5e5e7 (diff) | |
download | libmicrohttpd-5b73b66e4e224f2d0ea3f739ce4b8db2c7532fad.tar.gz libmicrohttpd-5b73b66e4e224f2d0ea3f739ce4b8db2c7532fad.zip |
process_request_body(): removed redundant check
-rw-r--r-- | src/microhttpd/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 6b355ba3..1a97f69e 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3108,9 +3108,9 @@ process_request_body (struct MHD_Connection *connection) | |||
3108 | size_t processed_size; | 3108 | size_t processed_size; |
3109 | 3109 | ||
3110 | instant_retry = false; | 3110 | instant_retry = false; |
3111 | if ( (connection->have_chunked_upload) && | 3111 | if (connection->have_chunked_upload) |
3112 | (MHD_SIZE_UNKNOWN == connection->remaining_upload_size) ) | ||
3113 | { | 3112 | { |
3113 | mhd_assert (MHD_SIZE_UNKNOWN == connection->remaining_upload_size); | ||
3114 | if ( (connection->current_chunk_offset == | 3114 | if ( (connection->current_chunk_offset == |
3115 | connection->current_chunk_size) && | 3115 | connection->current_chunk_size) && |
3116 | (0LLU != connection->current_chunk_offset) && | 3116 | (0LLU != connection->current_chunk_offset) && |