]> granicus.if.org Git - mutt/commitdiff
Fix debug message for mutt_adr_is_user
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 28 Mar 2007 07:43:00 +0000 (09:43 +0200)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 28 Mar 2007 07:43:00 +0000 (09:43 +0200)
alias.c

diff --git a/alias.c b/alias.c
index 0be73e5cc9ed94d5faa3e72af61bb777da850143..0a5b38d8e5cf92c8c36de18fc4b7f8b95d6ddab1 100644 (file)
--- a/alias.c
+++ b/alias.c
@@ -534,51 +534,51 @@ int mutt_addr_is_user (ADDRESS *addr)
   /* NULL address is assumed to be the user. */
   if (!addr)
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, NULL address\n"));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, NULL address\n"));
     return 1;
   }
   if (!addr->mailbox)
   {
-    dprint (5, (debugfile, "mail_addr_is_user: no, no mailbox\n"));
+    dprint (5, (debugfile, "mutt_addr_is_user: no, no mailbox\n"));
     return 0;
   }
 
   if (ascii_strcasecmp (addr->mailbox, Username) == 0)
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s\n", addr->mailbox, Username));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s\n", addr->mailbox, Username));
     return 1;
   }
   if (string_is_address(addr->mailbox, Username, Hostname))
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, Hostname));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, Hostname));
     return 1;
   }
   if (string_is_address(addr->mailbox, Username, mutt_fqdn(0)))
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (0)));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (0)));
     return 1;
   }
   if (string_is_address(addr->mailbox, Username, mutt_fqdn(1)))
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (1)));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (1)));
     return 1;
   }
 
   if (From && !ascii_strcasecmp (From->mailbox, addr->mailbox))
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s\n", addr->mailbox, From->mailbox));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s\n", addr->mailbox, From->mailbox));
     return 1;
   }
 
   if (mutt_match_rx_list (addr->mailbox, Alternates))
   {
-    dprint (5, (debugfile, "mail_addr_is_user: yes, %s matched by alternates.\n", addr->mailbox));
+    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s matched by alternates.\n", addr->mailbox));
     if (mutt_match_rx_list (addr->mailbox, UnAlternates))
-      dprint (5, (debugfile, "mail_addr_is_user: but, %s matched by unalternates.\n", addr->mailbox));
+      dprint (5, (debugfile, "mutt_addr_is_user: but, %s matched by unalternates.\n", addr->mailbox));
     else
       return 1;
   }
   
-  dprint (5, (debugfile, "mail_addr_is_user: no, all failed.\n"));
+  dprint (5, (debugfile, "mutt_addr_is_user: no, all failed.\n"));
   return 0;
 }