[asterisk-commits] branch 1.2 r16008 - /branches/1.2/strcompat.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 28 21:15:12 MST 2006


Author: russell
Date: Tue Mar 28 22:15:11 2006
New Revision: 16008

URL: http://svn.digium.com/view/asterisk?rev=16008&view=rev
Log:
tell unsetenv for solaris to return the result of the setenv call

Modified:
    branches/1.2/strcompat.c

Modified: branches/1.2/strcompat.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/strcompat.c?rev=16008&r1=16007&r2=16008&view=diff
==============================================================================
--- branches/1.2/strcompat.c (original)
+++ branches/1.2/strcompat.c Tue Mar 28 22:15:11 2006
@@ -49,6 +49,6 @@
 
 int unsetenv(const char *name)
 {
-  setenv(name,"",0);
+	return setenv(name, "", 0);
 }
 



More information about the asterisk-commits mailing list