diff options
author | mmcc@openbsd.org <mmcc@openbsd.org> | 2015-10-20 23:24:25 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-10-25 11:42:04 +1100 |
commit | 7d6c0362039ceacdc1366b5df29ad5d2693c13e5 (patch) | |
tree | d87b5de914604d6828303de6e5b0f3aa3d9258d2 /auth-bsdauth.c | |
parent | f98a09cacff7baad8748c9aa217afd155a4d493f (diff) |
upstream commit
Compare pointers to NULL rather than 0.
ok djm@
Upstream-ID: 21616cfea27eda65a06e772cc887530b9a1a27f8
Diffstat (limited to 'auth-bsdauth.c')
-rw-r--r-- | auth-bsdauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-bsdauth.c b/auth-bsdauth.c index 37ff893e..e00718f2 100644 --- a/auth-bsdauth.c +++ b/auth-bsdauth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth-bsdauth.c,v 1.13 2014/06/24 01:13:21 djm Exp $ */ +/* $OpenBSD: auth-bsdauth.c,v 1.14 2015/10/20 23:24:25 mmcc Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -103,7 +103,7 @@ bsdauth_respond(void *ctx, u_int numresponses, char **responses) if (!authctxt->valid) return -1; - if (authctxt->as == 0) + if (authctxt->as == NULL) error("bsdauth_respond: no bsd auth session"); if (numresponses != 1) |