From 3c2bebba8c3542ecf014ea014728a397419f613d Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 9 Aug 2010 07:48:43 +0000 Subject: [PATCH] (m17n_init_core): Fix handling of env_value. --- src/m17n-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m17n-core.c b/src/m17n-core.c index 945745e..f29f2e6 100644 --- a/src/m17n-core.c +++ b/src/m17n-core.c @@ -599,7 +599,7 @@ m17n_init_core (void) mdebug__output = NULL; if (env_value) { - if (strcmp (env_value, "stdout")) + if (strcmp (env_value, "stdout") == 0) mdebug__output = stdout; else mdebug__output = fopen (env_value, "a"); -- 1.7.10.4