Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
pwlib
> pwlib-1.10.10-pstring-fix.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pwlib-1.10.10-pstring-fix.diff of Package pwlib (Revision 3)
Currently displaying revision
3
,
show latest
Index: pwlib-1.10.4/src/ptlib/common/contain.cxx =================================================================== --- pwlib-1.10.4.orig/src/ptlib/common/contain.cxx +++ pwlib-1.10.4/src/ptlib/common/contain.cxx @@ -2465,7 +2465,7 @@ PString & PString::vsprintf(const char * PAssert(SetSize(2000), POutOfMemory); ::vsprintf(theArray+len, fmt, arg); #else - PINDEX size = 0; + PINDEX size = len; do { size += 1000; PAssert(SetSize(size), POutOfMemory);