Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 00:47:30 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298018 - head/lib/libypclnt
Message-ID:  <201604150047.u3F0lUeP006063@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604150047.u3F0lUeP006063>