From: foobar Date: Wed, 16 Jul 2003 04:54:55 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.3RC2~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edb801394bdf094b564420355bf4d622c1f0b8da;p=php MFH --- diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 111c2cb237..1d505bcf43 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -344,7 +344,7 @@ static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, if (st >= 2) { /* walk */ rootlen = MAX_NAME_LEN; if (strlen(objid)) { /* on a walk, an empty string means top of tree - no error */ - if (read_objid(objid, root, &rootlen)) { + if (snmp_parse_oid(objid, root, &rootlen)) { gotroot = 1; } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid object identifier: %s", objid);