You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ji...@apache.org on 2002/03/14 17:29:51 UTC
cvs commit: apr/strings apr_snprintf.c
jim 02/03/14 08:29:51
Modified: strings apr_snprintf.c
Log:
PR: 9932 (apache 1.3)
Submitted by: Joshua Colvin <jo...@jammed.com>
Reviewed by: Martin Kraemer, Jim Jagielski
Bring up fix from 1.3 patch
Revision Changes Path
1.21 +4 -0 apr/strings/apr_snprintf.c
Index: apr_snprintf.c
===================================================================
RCS file: /home/cvs/apr/strings/apr_snprintf.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- apr_snprintf.c 13 Mar 2002 20:39:26 -0000 1.20
+++ apr_snprintf.c 14 Mar 2002 16:29:51 -0000 1.21
@@ -1190,6 +1190,10 @@
fmt++;
}
vbuff->curpos = sp;
+ if (sp >= bep) {
+ if (flush_func(vbuff))
+ return -1;
+ }
return cc;
}