sniper          Sun Oct 13 22:46:52 2002 EDT

  Modified files:              
    /php4/ext/snmp      snmp.c 
  Log:
  This is not zval..
  
  
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.60 php4/ext/snmp/snmp.c:1.61
--- php4/ext/snmp/snmp.c:1.60   Thu Sep  5 07:50:43 2002
+++ php4/ext/snmp/snmp.c        Sun Oct 13 22:46:52 2002
@@ -17,7 +17,7 @@
 |          Steven Lawrance <[EMAIL PROTECTED]>                |
 +----------------------------------------------------------------------+
 */
-/* $Id: snmp.c,v 1.60 2002/09/05 11:50:43 hyanantha Exp $ */
+/* $Id: snmp.c,v 1.61 2002/10/14 02:46:52 sniper Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -341,8 +341,8 @@
                                                
add_assoc_string(return_value,buf2,buf,1);
                                        }
                                        if (st >= 2 && st != 11) {
-                                               if (Z_TYPE_P(vars) != 
SNMP_ENDOFMIBVIEW && 
-                                                       Z_TYPE_P(vars) != 
SNMP_NOSUCHOBJECT && Z_TYPE_P(vars) != SNMP_NOSUCHINSTANCE) {
+                                               if (vars->type != SNMP_ENDOFMIBVIEW && 
+                                                       vars->type != 
+SNMP_NOSUCHOBJECT && vars->type != SNMP_NOSUCHINSTANCE) {
                                                        memmove((char *)name, (char 
*)vars->name,vars->name_length * sizeof(oid));
                                                        name_length = 
vars->name_length;
                                                        keepwalking = 1;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to