Commit 102719b2 authored by Rich Prohaska's avatar Rich Prohaska

logformat was crashing on RHEL5 machines. the contents of ap was being changed. addresses #33

git-svn-id: file:///svn/tokudb@742 c7de825b-a66e-492c-adef-691d508d4ae1
parent c89aaafa
Branches unavailable
Tags unavailable
No related merge requests found
......@@ -79,6 +79,8 @@ void fprintf2 (FILE *f1, FILE *f2, const char *format, ...) {
int r;
va_start(ap, format);
r=vfprintf(f1, format, ap); assert(r>=0);
va_end(ap);
va_start(ap, format);
r=vfprintf(f2, format, ap); assert(r>=0);
va_end(ap);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment