Changeset 5019:25cbd5588d35 for alias.c

Show
Ignore:
Timestamp:
2007-03-28 00:43:00 (21 months ago)
Author:
Thomas Roessler <roessler@…>
Branch:
default
Message:

Fix debug message for mutt_adr_is_user

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • alias.c

    r4343 r5019  
    535535  if (!addr) 
    536536  { 
    537     dprint (5, (debugfile, "mail_addr_is_user: yes, NULL address\n")); 
     537    dprint (5, (debugfile, "mutt_addr_is_user: yes, NULL address\n")); 
    538538    return 1; 
    539539  } 
    540540  if (!addr->mailbox) 
    541541  { 
    542     dprint (5, (debugfile, "mail_addr_is_user: no, no mailbox\n")); 
     542    dprint (5, (debugfile, "mutt_addr_is_user: no, no mailbox\n")); 
    543543    return 0; 
    544544  } 
     
    546546  if (ascii_strcasecmp (addr->mailbox, Username) == 0) 
    547547  { 
    548     dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s\n", addr->mailbox, Username)); 
     548    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s\n", addr->mailbox, Username)); 
    549549    return 1; 
    550550  } 
    551551  if (string_is_address(addr->mailbox, Username, Hostname)) 
    552552  { 
    553     dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, Hostname)); 
     553    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, Hostname)); 
    554554    return 1; 
    555555  } 
    556556  if (string_is_address(addr->mailbox, Username, mutt_fqdn(0))) 
    557557  { 
    558     dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (0))); 
     558    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (0))); 
    559559    return 1; 
    560560  } 
    561561  if (string_is_address(addr->mailbox, Username, mutt_fqdn(1))) 
    562562  { 
    563     dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (1))); 
     563    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s @ %s \n", addr->mailbox, Username, mutt_fqdn (1))); 
    564564    return 1; 
    565565  } 
     
    567567  if (From && !ascii_strcasecmp (From->mailbox, addr->mailbox)) 
    568568  { 
    569     dprint (5, (debugfile, "mail_addr_is_user: yes, %s = %s\n", addr->mailbox, From->mailbox)); 
     569    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s = %s\n", addr->mailbox, From->mailbox)); 
    570570    return 1; 
    571571  } 
     
    573573  if (mutt_match_rx_list (addr->mailbox, Alternates)) 
    574574  { 
    575     dprint (5, (debugfile, "mail_addr_is_user: yes, %s matched by alternates.\n", addr->mailbox)); 
     575    dprint (5, (debugfile, "mutt_addr_is_user: yes, %s matched by alternates.\n", addr->mailbox)); 
    576576    if (mutt_match_rx_list (addr->mailbox, UnAlternates)) 
    577       dprint (5, (debugfile, "mail_addr_is_user: but, %s matched by unalternates.\n", addr->mailbox)); 
     577      dprint (5, (debugfile, "mutt_addr_is_user: but, %s matched by unalternates.\n", addr->mailbox)); 
    578578    else 
    579579      return 1; 
    580580  } 
    581581   
    582   dprint (5, (debugfile, "mail_addr_is_user: no, all failed.\n")); 
     582  dprint (5, (debugfile, "mutt_addr_is_user: no, all failed.\n")); 
    583583  return 0; 
    584584}