~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to account.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "account.h"
27
27
#include "url.h"
28
28
 
29
 
/* mutt_account_match: compare account info (host/port/user/login) */
 
29
/* mutt_account_match: compare account info (host/port/user) */
30
30
int mutt_account_match (const ACCOUNT* a1, const ACCOUNT* a2)
31
31
{
32
32
  const char* user = NONULL (Username);
33
 
  const char* login = NONULL (Username);
34
33
 
35
34
  if (a1->type != a2->type)
36
35
    return 0;
44
43
  {
45
44
    if (ImapUser)
46
45
      user = ImapUser;
47
 
    if (ImapLogin)
48
 
      login = ImapLogin;
49
46
  }
50
47
#endif
51
48