* ftpfs/host.c (split_server_name): assign NULL to *host, *user, and *passwd instead of 0. --- 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