projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f960c
)
fix clearenv() on mac os x
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 21:37:05 +0000
(22:37 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Jan 2013 21:37:05 +0000
(22:37 +0100)
utils.h
patch
|
blob
|
history
diff --git
a/utils.h
b/utils.h
index 0f75de469f9f5678b48e71d863889e2cf298038f..08539438531867edf91b8ede7a77b767b398a9f3 100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-42,7
+42,7
@@
static inline void clearenv(void)
{
extern char **environ;
- environ = NULL;
+
*
environ = NULL;
}
#endif