From: Felix Fietkau Date: Tue, 1 Jan 2013 21:37:05 +0000 (+0100) Subject: fix clearenv() on mac os x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86fb2d323eea968b55805459cab497c69b3344b8;p=project%2Fuhttpd.git fix clearenv() on mac os x --- diff --git a/utils.h b/utils.h index 0f75de4..0853943 100644 --- a/utils.h +++ b/utils.h @@ -42,7 +42,7 @@ static inline void clearenv(void) { extern char **environ; - environ = NULL; + *environ = NULL; } #endif