bug-hurd
[Top][All Lists]
Advanced

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

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


From: Thomas Bushnell, BSG
Subject: Re: [PATCH v2 1/4] ftpfs/host.c: use NULL (instead of 0) for pointers
Date: Sat, 20 Aug 2011 09:29:00 -0700

I agree with Samuel. The use of NULL for pointers in C can lead people to forget that C does not protect the types in this case.

Thomas

On Sat, Aug 20, 2011 at 9:24 AM, Samuel Thibault <samuel.thibault@gnu.org> wrote:
Jonathan Neuschäfer, le Mon 15 Aug 2011 22:10:06 +0200, a écrit :
>  * ftpfs/host.c (split_server_name): assign NULL to *host, *user, and
>    *passwd instead of 0.

Mmm, according to C, 0 is fine here, isn't it?

Samuel



reply via email to

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