commit 5db261a7656e0506f38d4fb1e0209558a805b9f6
parent 4f94b465daed6305d4ea7a2063ca103d366e44f8
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 1 Apr 2010 09:00:01 +0000
fix
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
@@ -192,7 +192,7 @@ struct MHD_Response
unsigned int reference_count;
/**
- * Set to -1 if size is not known.
+ * Set to MHD_SIZE_UNKNOWN if size is not known.
*/
uint64_t total_size;
diff --git a/src/daemon/response.c b/src/daemon/response.c
@@ -163,7 +163,7 @@ MHD_get_response_header (struct MHD_Response *response, const char *key)
* Create a response object. The response object can be extended with
* header information and then be used any number of times.
*
- * @param size size of the data portion of the response, -1 for unknown
+ * @param size size of the data portion of the response, MHD_SIZE_UNKNOWN for unknown
* @param block_size preferred block size for querying crc (advisory only,
* MHD may still call crc using smaller chunks); this
* is essentially the buffer size used for IO, clients