summaryrefslogtreecommitdiffstats
path: root/imap/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/auth.c')
-rw-r--r--imap/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/auth.c b/imap/auth.c
index fa485bfe..97ac5d12 100644
--- a/imap/auth.c
+++ b/imap/auth.c
@@ -48,7 +48,7 @@ int imap_authenticate (IMAP_DATA* idata)
imap_auth_t* authenticator = imap_authenticators;
int r = -1;
- while (authenticator)
+ while (*authenticator)
{
if ((r = (*authenticator)(idata)) != IMAP_AUTH_UNAVAIL)
return r;