From: Russell Bryant Date: Wed, 29 Mar 2006 04:15:11 +0000 (+0000) Subject: tell unsetenv for solaris to return the result of the setenv call X-Git-Tag: 1.2.7~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecf158b51e52f4908c72f53cf39396be23506131;p=thirdparty%2Fasterisk.git tell unsetenv for solaris to return the result of the setenv call git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16008 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/strcompat.c b/strcompat.c index 233bacc862..2efdb03d52 100644 --- a/strcompat.c +++ b/strcompat.c @@ -49,6 +49,6 @@ int setenv(const char *name, const char *value, int overwrite) int unsetenv(const char *name) { - setenv(name,"",0); + return setenv(name, "", 0); }