projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh]
/
uip
/
install-mh.c
diff --git
a/uip/install-mh.c
b/uip/install-mh.c
index
615ac71
..
d5c16d9
100644
(file)
--- a/
uip/install-mh.c
+++ b/
uip/install-mh.c
@@
-85,7
+85,7
@@
main(int argc, char **argv)
** if that's not found.
*/
- if ((mypath = getenv("HOME")) == (char *)0) {
+ if ((mypath = getenv("HOME")) == NULL) {
if ((pw = getpwuid(getuid())) == (struct passwd *)0 ||
*pw->pw_dir == '\0')
adios(NULL, "cannot determine your home directory");