You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2002/03/14 13:08:06 UTC
cvs commit: apache-1.3/src/ap ap_snprintf.c
martin 02/03/14 04:08:06
Modified: src/ap ap_snprintf.c
Log:
ap_vformatter() was missing a final flush call.
PR: 9932
Submitted by: Joshua Colvin <jo...@jammed.com>
Revision Changes Path
1.51 +4 -0 apache-1.3/src/ap/ap_snprintf.c
Index: ap_snprintf.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/ap/ap_snprintf.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ap_snprintf.c 13 Mar 2002 21:05:28 -0000 1.50
+++ ap_snprintf.c 14 Mar 2002 12:08:06 -0000 1.51
@@ -1158,6 +1158,10 @@
fmt++;
}
vbuff->curpos = sp;
+ if (sp >= bep) {
+ if (flush_func(vbuff))
+ return -1;
+ }
return cc;
}