]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ap_vformatter() was missing a final flush call.
authorMartin Kraemer <martin@apache.org>
Thu, 14 Mar 2002 12:08:06 +0000 (12:08 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 14 Mar 2002 12:08:06 +0000 (12:08 +0000)
PR: 9932
Submitted by: Joshua Colvin <joshua@jammed.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93933 13f79535-47bb-0310-9956-ffa450edef68

src/ap/ap_snprintf.c

index 1ff547f187e5ce289c44aad948d4bfbbecca585f..43f80fbd5e98ccef3e48a9ea5e53e53b16733303 100644 (file)
@@ -1158,6 +1158,10 @@ API_EXPORT(int) ap_vformatter(int (*flush_func)(ap_vformatter_buff *),
        fmt++;
     }
     vbuff->curpos = sp;
+    if (sp >= bep) {
+       if (flush_func(vbuff))
+           return -1;
+    }
     return cc;
 }