bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] ftpfs/host.c: use NULL (instead of 0) for pointers


From: Jonathan Neuschäfer
Subject: [PATCH 1/4] ftpfs/host.c: use NULL (instead of 0) for pointers
Date: Mon, 15 Aug 2011 14:32:55 +0200

---
 ftpfs/host.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ftpfs/host.c b/ftpfs/host.c
index cd6fd4c..71cf6c8 100644
--- a/ftpfs/host.c
+++ b/ftpfs/host.c
@@ -32,9 +32,9 @@ split_server_name (const char *server, char **host, char 
**user, char **passwd)
   size_t plim;
   const char *p = server, *sep;
 
-  *host = 0;
-  *user = 0;
-  *passwd = 0;
+  *host = NULL;
+  *user = NULL;
+  *passwd = NULL;
 
   /* Extract the hostname; syntax is either `HOST:...', `...@HOST', or just
      HOST if there are no user parameters specified.  */
-- 
1.7.5.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]