From 0bef6255004df60408da9dc208541b4ea1998eaa Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 11 Nov 2008 09:17:11 -0700 Subject: [PATCH] fix thinko in logCompile --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index c31644438e..44e2d0f2a4 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -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;