aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-25 06:51:04 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-25 06:51:04 +0000
commit7e47c7f57e9bc7b7c27069a416202a2680b3498b (patch)
tree4d70e3f01d6d16d20a59aa57b6801a23f84ce317 /uid.c
parent3c2b96ae3364a3bc206679f49a858f8fee505ba4 (diff)
downloadfetchmail-7e47c7f57e9bc7b7c27069a416202a2680b3498b.tar.gz
fetchmail-7e47c7f57e9bc7b7c27069a416202a2680b3498b.tar.bz2
fetchmail-7e47c7f57e9bc7b7c27069a416202a2680b3498b.zip
Fix embarassing bug.
svn path=/trunk/; revision=377
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uid.c b/uid.c
index 8ad4215f..eb17c2fd 100644
--- a/uid.c
+++ b/uid.c
@@ -195,7 +195,7 @@ char *id;
{
if (*idl == (struct idlist *) 0)
return((char *) 0);
- else if (strcmp(id, (*idl)->id))
+ else if (strcmp(id, (*idl)->id) == 0)
return((*idl)->val.id2 ? (*idl)->val.id2 : (*idl)->id);
else
return(idpair_find(&(*idl)->next, id));