From 6c18267e12b5bf019b3799d04a32db6ba3079c9a Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sat, 3 Jan 2009 21:02:59 -0800 Subject: [PATCH] Raise debug level for several messages --- imap/command.c | 4 ++-- imap/imap.c | 8 ++++---- init.c | 6 +++--- muttlib.c | 2 +- postpone.c | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/imap/command.c b/imap/command.c index 0eef1f577..2fc05f927 100644 --- a/imap/command.c +++ b/imap/command.c @@ -710,7 +710,7 @@ static void cmd_parse_list (IMAP_DATA* idata, char* s) if (list->name[0] == '\0') { idata->delim = list->delim; - dprint (2, (debugfile, "Root delimiter: %c\n", idata->delim)); + dprint (3, (debugfile, "Root delimiter: %c\n", idata->delim)); } } @@ -739,7 +739,7 @@ static void cmd_parse_lsub (IMAP_DATA* idata, char* s) if (!list.name) return; - dprint (2, (debugfile, "Subscribing to %s\n", list.name)); + dprint (3, (debugfile, "Subscribing to %s\n", list.name)); strfcpy (buf, "mailboxes \"", sizeof (buf)); mutt_account_tourl (&idata->conn->account, &url); diff --git a/imap/imap.c b/imap/imap.c index cb7034118..f3ccfdd9a 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -648,7 +648,7 @@ int imap_open_mailbox (CONTEXT* ctx) /* don't override PERMANENTFLAGS */ if (!idata->flags) { - dprint (2, (debugfile, "Getting mailbox FLAGS\n")); + dprint (3, (debugfile, "Getting mailbox FLAGS\n")); if ((pc = imap_get_flags (&(idata->flags), pc)) == NULL) goto fail; } @@ -656,7 +656,7 @@ int imap_open_mailbox (CONTEXT* ctx) /* PERMANENTFLAGS are massaged to look like FLAGS, then override FLAGS */ else if (ascii_strncasecmp ("OK [PERMANENTFLAGS", pc, 18) == 0) { - dprint (2, (debugfile, "Getting mailbox PERMANENTFLAGS\n")); + dprint (3, (debugfile, "Getting mailbox PERMANENTFLAGS\n")); /* safe to call on NULL */ mutt_free_list (&(idata->flags)); /* skip "OK [PERMANENT" so syntax is the same as FLAGS */ @@ -667,7 +667,7 @@ int imap_open_mailbox (CONTEXT* ctx) /* save UIDVALIDITY for the header cache */ else if (ascii_strncasecmp ("OK [UIDVALIDITY", pc, 14) == 0) { - dprint (2, (debugfile, "Getting mailbox UIDVALIDITY\n")); + dprint (3, (debugfile, "Getting mailbox UIDVALIDITY\n")); pc += 3; pc = imap_next_word (pc); idata->uid_validity = strtol (pc, NULL, 10); @@ -675,7 +675,7 @@ int imap_open_mailbox (CONTEXT* ctx) } else if (ascii_strncasecmp ("OK [UIDNEXT", pc, 11) == 0) { - dprint (2, (debugfile, "Getting mailbox UIDNEXT\n")); + dprint (3, (debugfile, "Getting mailbox UIDNEXT\n")); pc += 3; pc = imap_next_word (pc); idata->uidnext = strtol (pc, NULL, 10); diff --git a/init.c b/init.c index 1976358f6..9b98d770c 100644 --- a/init.c +++ b/init.c @@ -1345,7 +1345,7 @@ static int parse_alias (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) } mutt_extract_token (buf, s, M_TOKEN_QUOTE | M_TOKEN_SPACE | M_TOKEN_SEMICOLON); - dprint (2, (debugfile, "parse_alias: Second token is '%s'.\n", + dprint (3, (debugfile, "parse_alias: Second token is '%s'.\n", buf->data)); tmp->addr = mutt_parse_adrlist (tmp->addr, buf->data); @@ -1372,10 +1372,10 @@ static int parse_alias (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) for (a = tmp->addr; a && a->mailbox; a = a->next) { if (!a->group) - dprint (2, (debugfile, "parse_alias: %s\n", + dprint (3, (debugfile, "parse_alias: %s\n", a->mailbox)); else - dprint (2, (debugfile, "parse_alias: Group %s\n", + dprint (3, (debugfile, "parse_alias: Group %s\n", a->mailbox)); } } diff --git a/muttlib.c b/muttlib.c index 01adad3eb..bb403e86e 100644 --- a/muttlib.c +++ b/muttlib.c @@ -734,7 +734,7 @@ void mutt_merge_envelopes(ENVELOPE* base, ENVELOPE** extra) void _mutt_mktemp (char *s, const char *src, int line) { snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getuid(), (int) getpid (), Counter++); - dprint (1, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); + dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); unlink (s); } diff --git a/postpone.c b/postpone.c index 50d9bdb71..d35e51e12 100644 --- a/postpone.c +++ b/postpone.c @@ -91,10 +91,10 @@ int mutt_num_postponed (int force) if (newpc >= 0) { PostCount = newpc; - dprint (2, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount)); + dprint (3, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount)); } else - dprint (2, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n")); + dprint (3, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n")); } return PostCount; } -- 2.40.0