Style fix: "if (pointer)" -> "if (pointer != NULL)"

This commit is contained in:
Colin Percival 2005-09-21 18:42:56 +00:00
parent ea174c52f5
commit 3e4858ff09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150427

View File

@ -63,7 +63,7 @@ readenv(void)
char * p;
env_HTTP_PROXY = getenv("HTTP_PROXY");
if (env_HTTP_PROXY) {
if (env_HTTP_PROXY != NULL) {
if (strncmp(env_HTTP_PROXY, "http://", 7) == 0)
env_HTTP_PROXY += 7;
p = strchr(env_HTTP_PROXY, '/');