fix thinko in logCompile

This commit is contained in:
Joel Dice 2008-11-11 09:17:11 -07:00
parent 63c78d9d84
commit 0bef625500

View File

@ -3405,7 +3405,7 @@ logCompile(MyThread* t, const void* code, unsigned size, const char* class_,
if (not open) {
open = true;
const char* path = findProperty(t, "avian.jit.log");
if (name) {
if (path) {
log = fopen(path, "wb");
} else if (DebugCompile) {
log = stderr;