From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 25 Aug 2020 21:43:23 +0000 (+0200)
Subject: Fix documented return code for clear_iob()
X-Git-Tag: v_3_0_29~185
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/@default-cgi@show-status?a=commitdiff_plain;h=e42419cf1c414f431aea322e82964ecbe9e47138;p=privoxy.git

Fix documented return code for clear_iob()

Sponsored by: Robert Klemme
---

diff --git a/parsers.c b/parsers.c
index f83fa045..ad8e01fb 100644
--- a/parsers.c
+++ b/parsers.c
@@ -381,8 +381,7 @@ jb_err add_to_iob(struct iob *iob, const size_t buffer_limit, char *src, long n)
  * Parameters  :
  *          1  :  iob = I/O buffer to clear.
  *
- * Returns     :  JB_ERR_OK on success, JB_ERR_MEMORY if out-of-memory
- *                or buffer limit reached.
+ * Returns     :  N/A
  *
  *********************************************************************/
 void clear_iob(struct iob *iob)