author | Marco Roeland <marco.roeland@xs4all.nl> | |
Sat, 11 Mar 2006 08:55:50 +0000 (09:55 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 11 Mar 2006 10:00:35 +0000 (02:00 -0800) | ||
commit | 8e7f9035b8271469747e3745aa7e095e12f74e5e | |
tree | b57d5f313fd37b8d82689608f3c4dfceda7883cd | tree | snapshot |
parent | be767c91724275c4534965c0d25c452b76057602 | commit | diff |
imap-send: cleanup execl() call to use NULL sentinel instead of 0
Some versions of gcc check that calls to the exec() family have the proper
sentinel for variadic calls. This should be (char *) NULL according to the
man page. Although for all other purposes the 0 is equivalent, gcc
nevertheless does emit a warning for 0 and not for NULL. This also makes the
usage consistent throughout git.
The whitespace in function calls throughout imap-send.c has its own style,
so I left it that way.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Some versions of gcc check that calls to the exec() family have the proper
sentinel for variadic calls. This should be (char *) NULL according to the
man page. Although for all other purposes the 0 is equivalent, gcc
nevertheless does emit a warning for 0 and not for NULL. This also makes the
usage consistent throughout git.
The whitespace in function calls throughout imap-send.c has its own style,
so I left it that way.
Signed-off-by: Junio C Hamano <junkio@cox.net>
imap-send.c | diff | blob | history |