Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 2822:744df95bf123 | 2823:cd23279122ed |
|---|---|
| 367 return buf; | 367 return buf; |
| 368 } | 368 } |
| 369 | 369 |
| 370 static void debug_event(enum gaim_event event, void *arg1, void *arg2, void *arg3, void *arg4) | 370 static void debug_event(enum gaim_event event, void *arg1, void *arg2, void *arg3, void *arg4) |
| 371 { | 371 { |
| 372 #ifndef DEBUG | 372 if (!opt_debug && !(misc_options & OPT_MISC_DEBUG)) |
| 373 if (!(misc_options & OPT_MISC_DEBUG)) | |
| 374 return; | 373 return; |
| 375 #endif | 374 |
| 376 switch (event) { | 375 switch (event) { |
| 377 case event_quit: | 376 case event_quit: |
| 378 debug_printf("%s\n", event_name(event)); | 377 debug_printf("%s\n", event_name(event)); |
| 379 break; | 378 break; |
| 380 case event_signon: | 379 case event_signon: |
