svn commit: r298018 - head/lib/libypclnt
Marcelo Araujo
araujo at FreeBSD.org
Fri Apr 15 00:47:32 UTC 2016
Author: araujo
Date: Fri Apr 15 00:47:30 2016
New Revision: 298018
URL: https://svnweb.freebsd.org/changeset/base/298018
Log:
Initialize pointer with NULL instead of 0.
Submitted by: pfg
Modified:
head/lib/libypclnt/ypclnt_passwd.c
Modified: head/lib/libypclnt/ypclnt_passwd.c
==============================================================================
--- head/lib/libypclnt/ypclnt_passwd.c Thu Apr 14 23:14:41 2016 (r298017)
+++ head/lib/libypclnt/ypclnt_passwd.c Fri Apr 15 00:47:30 2016 (r298018)
@@ -65,7 +65,7 @@ int
ypclnt_havepasswdd(ypclnt_t *ypclnt)
{
struct netconfig *nc = NULL;
- void *localhandle = 0;
+ void *localhandle = NULL;
CLIENT *clnt = NULL;
int ret;
@@ -139,7 +139,7 @@ yppasswd_local(ypclnt_t *ypclnt, const s
struct master_yppasswd yppwd;
struct rpc_err rpcerr;
struct netconfig *nc = NULL;
- void *localhandle = 0;
+ void *localhandle = NULL;
CLIENT *clnt = NULL;
int ret, *result;
More information about the svn-src-head
mailing list