Mercurial > pidgin
diff src/module.c @ 2823:cd23279122ed
[gaim-migrate @ 2836]
remove DEBUG
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 01 Dec 2001 01:48:26 +0000 |
| parents | b0c5770156e1 |
| children | 7239a392486c |
line wrap: on
line diff
--- a/src/module.c Sat Dec 01 01:13:12 2001 +0000 +++ b/src/module.c Sat Dec 01 01:48:26 2001 +0000 @@ -369,10 +369,9 @@ static void debug_event(enum gaim_event event, void *arg1, void *arg2, void *arg3, void *arg4) { -#ifndef DEBUG - if (!(misc_options & OPT_MISC_DEBUG)) + if (!opt_debug && !(misc_options & OPT_MISC_DEBUG)) return; -#endif + switch (event) { case event_quit: debug_printf("%s\n", event_name(event));
