diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-12-02 22:06:15 +0100 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-06 17:15:32 -0200 |
commit | bf138553afe6eecd0e6c218dc6ae4f63065e4196 (patch) | |
tree | 5cb5bf10c3789cf05497dc0b1f90f34871bcda92 /src/authutil.c | |
parent | b01e82ce1deedb36c9696d4d27a3b9a5d5a52d08 (diff) |
Use NULL, not zero, for pointers
From Magnus Kessler <Magnus.Kessler@gmx.net>
http://lists.freedesktop.org/archives/xorg/2008-October/039799.html
http://lists.freedesktop.org/archives/xorg/attachments/20081030/b2ea5b1c/attachment-0001.bin
Diffstat (limited to 'src/authutil.c')
-rw-r--r-- | src/authutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authutil.c b/src/authutil.c index 65d256f..2191f06 100644 --- a/src/authutil.c +++ b/src/authutil.c @@ -441,7 +441,7 @@ read_counted_string (FILE *file, unsigned short *countp, char **stringp) if (len == 0) { - data = 0; + data = NULL; } else { |