Re: [PATCH] imap-send: cleanup execl() call to use NULL sentinel instead of 0
- From
- Morten Welinder <mwelinder@gmail.com>
- Date
- Mar 11, 2006, 14:01 UTC
- Message-ID
- <118833cc0603110601x6ac9b2b6kaa0277981c6dd44b@mail.gmail.com>
- In-Reply-To
- <20060311085550.GA32089@fiberbit.xs4all.nl>
If you're going to fix that, you should use (char *)NULL or (char *)0, just in case you end up on a machine where NULL doesn't a pointer type.
(Yup, NULL can be a null pointer without having pointer type.)
M.