--- src/nhttpd/main.c.orig	2013-09-10 10:02:24.538148541 +0200
+++ src/nhttpd/main.c	2013-09-10 10:12:40.431140031 +0200
@@ -686,7 +686,7 @@
 	 * clear all environment variables and save PATH
 	 */
 	strlcpy(http_path, getenv("PATH"), sizeof(http_path));
-	memset(environ, 0, sizeof(environ));
+	*environ = NULL;
 
 	/*
 	 * get servers IP adress(es)
