From: Daniel Gruno Date: Thu, 2 Aug 2012 09:05:49 +0000 (+0000) Subject: bad header info: ap_rflush does not return the number of bytes flushed, it returns... X-Git-Tag: 2.5.0-alpha~6529 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ebd9031abf5eaf82523f9f09ea13bbbbd0b6a8;p=thirdparty%2Fapache%2Fhttpd.git bad header info: ap_rflush does not return the number of bytes flushed, it returns 0 on success, -1 on error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368393 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_protocol.h b/include/http_protocol.h index d0d1f27ae2a..1885ff025ff 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -379,7 +379,7 @@ AP_DECLARE_NONSTD(int) ap_rprintf(request_rec *r, const char *fmt,...) /** * Flush all of the data for the current request to the client * @param r The current request - * @return The number of bytes sent + * @return 0 on success, -1 if an error occured */ AP_DECLARE(int) ap_rflush(request_rec *r);