summaryrefslogtreecommitdiffstats
path: root/usr.sbin/portsnap
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-09-21 18:42:56 +0000
committercperciva <cperciva@FreeBSD.org>2005-09-21 18:42:56 +0000
commitf38ccb360fc427f354bbe3a0a9e4ca36191a78fa (patch)
tree49cc4af232b5cc4a76b58c99ea415d4631476879 /usr.sbin/portsnap
parent4ee54de329836e5788a7c6ce501d5a3403795925 (diff)
downloadFreeBSD-src-f38ccb360fc427f354bbe3a0a9e4ca36191a78fa.zip
FreeBSD-src-f38ccb360fc427f354bbe3a0a9e4ca36191a78fa.tar.gz
Style fix: "if (pointer)" -> "if (pointer != NULL)"
Diffstat (limited to 'usr.sbin/portsnap')
-rw-r--r--usr.sbin/portsnap/phttpget/phttpget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/portsnap/phttpget/phttpget.c b/usr.sbin/portsnap/phttpget/phttpget.c
index f967b7e..9f8e3b9 100644
--- a/usr.sbin/portsnap/phttpget/phttpget.c
+++ b/usr.sbin/portsnap/phttpget/phttpget.c
@@ -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, '/');
OpenPOWER on IntegriCloud