*** empty log message ***

svn path=/trunk/boinc/; revision=10922
This commit is contained in:
Rom Walton 2006-08-15 17:47:34 +00:00
parent c86e685ac3
commit d1f390792b
3 changed files with 11 additions and 1 deletions

View File

@ -8853,3 +8853,11 @@ David 15 Aug 2006
clientgui/
MainDocument.cpp,h
Rom 15 Aug 2006
- lib: Fix missing case for MIOFILE where MIOFILE.printf didn't know how
to handle memory buffers. It was calling vfprintf with a null file
handle and crashed.
lib/
miofile.C

View File

@ -61,8 +61,10 @@ int MIOFILE::printf(const char* format, ...) {
va_start(ap, format);
if (mf) {
retval = mf->vprintf(format, ap);
} else {
} else if (f) {
retval = vfprintf(f, format, ap);
} else {
retval = vsprintf(buf, format, ap);
}
va_end(ap);
return retval;

Binary file not shown.