mail: move #ifdef PRINT_LOTS_OF_DEBUG inside function

Patch by: Tomas Cech <tcech@suse.cz>


SVN revision: 64075
This commit is contained in:
Tomas Cech 2011-10-14 12:23:01 +00:00 committed by Lucas De Marchi
parent 51c9684d78
commit 9d983b0c10
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#define D(args...) #define D(args...)
#endif #endif
#ifdef PRINT_LOTS_OF_DEBUG #if PRINT_LOTS_OF_DEBUG
static void static void
tls_log_func(int level, const char *str) tls_log_func(int level, const char *str)
{ {
@ -63,7 +63,7 @@ _mail_imap_check_mail (void *data)
if (ecore_con_ssl_available_get () && (ic->config->ssl)) if (ecore_con_ssl_available_get () && (ic->config->ssl))
{ {
#ifdef PRINT_LOTS_OF_DEBUG #if PRINT_LOTS_OF_DEBUG
if (ecore_con_ssl_available_get() == 1) if (ecore_con_ssl_available_get() == 1)
{ {
gnutls_global_set_log_level(9); gnutls_global_set_log_level(9);