X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Finstall-mh.c;fp=uip%2Finstall-mh.c;h=d5c16d9eb137c9b8fcc7fa6d523560e9dc95df51;hp=615ac71f3c6fa2134f6da3b4d3190e37467e5b17;hb=7e3bc577e84e13a47005a706718bd6ec0e6a0e0a;hpb=246ca516a0f7b870316116bc184347b0fb2bc00b diff --git a/uip/install-mh.c b/uip/install-mh.c index 615ac71..d5c16d9 100644 --- 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");