diff options
Diffstat (limited to 'gobex/gobex.c')
-rw-r--r-- | gobex/gobex.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c index b20542df5..b6126b8d4 100644 --- a/gobex/gobex.c +++ b/gobex/gobex.c @@ -1246,9 +1246,11 @@ GObex *g_obex_new(GIOChannel *io, GObexTransportType transport_type, if (gobex_debug == 0) { const char *env = g_getenv("GOBEX_DEBUG"); - if (env) + + if (env) { gobex_debug = g_parse_debug_string(env, keys, 6); - else + g_setenv("G_MESSAGES_DEBUG", "gobex", FALSE); + } else gobex_debug = G_OBEX_DEBUG_NONE; } |