From 646af9e46e2ad2a83c6bf05a819509ab760e2353 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Mon, 19 Sep 2011 13:25:08 +0200
Subject: waitress: update comment (buffer is \0-terminated)

---
 src/libwaitress/waitress.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c
index fc1ec2a..c4d726a 100644
--- a/src/libwaitress/waitress.c
+++ b/src/libwaitress/waitress.c
@@ -341,7 +341,8 @@ bool WaitressSetProxy (WaitressHandle_t *waith, const char *url) {
 	return WaitressSplitUrl (url, &waith->proxy);
 }
 
-/*	Callback for WaitressFetchBuf, appends received data to NULL-terminated buffer
+/*	Callback for WaitressFetchBuf, appends received data to \0-terminated
+ *	buffer
  *	@param received data
  *	@param data size
  *	@param buffer structure
@@ -375,7 +376,8 @@ static WaitressCbReturn_t WaitressFetchBufCb (void *recvData, size_t recvDataSiz
 
 /*	Fetch string. Beware! This overwrites your waith->data pointer
  *	@param waitress handle
- *	@param result buffer, malloced (don't forget to free it yourself)
+ *	@param \0-terminated result buffer, malloced (don't forget to free it
+ *			yourself)
  */
 WaitressReturn_t WaitressFetchBuf (WaitressHandle_t *waith, char **retBuffer) {
 	WaitressFetchBufCbBuffer_t buffer;
-- 
cgit v1.2.3