diff options
author | Sterling Hughes <sterling@php.net> | 2000-07-01 22:39:27 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2000-07-01 22:39:27 +0000 |
commit | b87f5e93a30841776598599f84e635b4f8dbef8d (patch) | |
tree | 274bf982d1a9250822c22e66d79a0cbb13df686c /ext/snmp | |
parent | a43572123c7ad71b863430753e6ff5f9974b45d5 (diff) | |
download | php-git-b87f5e93a30841776598599f84e635b4f8dbef8d.tar.gz |
revert + note.
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 20c5542ed0..8036201a81 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -217,7 +217,7 @@ void php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) { * 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 |