mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10922
This commit is contained in:
parent
c86e685ac3
commit
d1f390792b
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
Loading…
Reference in New Issue