cvs: php4 /ext/snmp snmp.c

From: Date: Sat, 01 Jul 2000 22:39:27 +0000
Subject: cvs: php4 /ext/snmp snmp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-583@lists.php.net to get a copy of this message
sterling Sat Jul 1 15:39:27 2000 EDT Modified files: /php4/ext/snmp snmp.c Log: revert + note. Index: php4/ext/snmp/snmp.c diff -u php4/ext/snmp/snmp.c:1.35 php4/ext/snmp/snmp.c:1.36 --- php4/ext/snmp/snmp.c:1.35 Sat Jul 1 14:34:45 2000 +++ php4/ext/snmp/snmp.c Sat Jul 1 15:39:27 2000 @@ -17,7 +17,7 @@ | Steven Lawrance <slawrance@technologist.com> | +----------------------------------------------------------------------+ */ -/* $Id: snmp.c,v 1.35 2000/07/01 21:34:45 sterling Exp $ */ +/* $Id: snmp.c,v 1.36 2000/07/01 22:39:27 sterling Exp $ */ #include "php.h" #include "ext/standard/info.h" @@ -217,7 +217,7 @@ * memory it did not allocate */ #ifdef UCD_SNMP_HACK - session.community = (u_char *)estrdup((*a2)->value.str.val); + session.community = (u_char *)strdup((*a2)->value.str.val); /* memory freed by SNMP library, strdup NOT estrdup */ #else session.community = (u_char *)(*a2)->value.str.val; #endif

« previous php.cvs (#583) next »