]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Wed, 16 Jul 2003 04:54:55 +0000 (04:54 +0000)
committerfoobar <sniper@php.net>
Wed, 16 Jul 2003 04:54:55 +0000 (04:54 +0000)
ext/snmp/snmp.c

index 111c2cb2379da4b0c9e3a2124034c10647c7f9a6..1d505bcf43a9c36e5d67a5658b94dea704e2ba14 100644 (file)
@@ -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);