cvs: php4 /main streams.c

From: Date: Tue, 30 Apr 2002 00:22:44 +0000
Subject: cvs: php4 /main streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11545@lists.php.net to get a copy of this message
wez Mon Apr 29 20:22:45 2002 EDT Modified files: /php4/main streams.c Log: Remove debug code that should not have been committed. # I must apologize for the quality of my commits tonight... Index: php4/main/streams.c diff -u php4/main/streams.c:1.51 php4/main/streams.c:1.52 --- php4/main/streams.c:1.51 Mon Apr 29 20:16:00 2002 +++ php4/main/streams.c Mon Apr 29 20:22:44 2002 @@ -1469,12 +1469,7 @@ { zval **wrapperhash; -printf("set option %s:%s:%p\n", wrappername, optionname, optionvalue); - if (FAILURE == zend_hash_find(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrappername)+1, (void**)&wrapperhash)) { - // Create the entry here - -printf("creating a zval for wrapper:%s\n", wrappername); MAKE_STD_ZVAL(*wrapperhash); array_init(*wrapperhash); @@ -1483,8 +1478,6 @@ ZVAL_ADDREF(optionvalue); } -printf("storing value with key %s in wrapper hash\n", optionname); - return zend_hash_update(Z_ARRVAL_PP(wrapperhash), (char*)optionname, strlen(optionname)+1, (void**)&optionvalue, sizeof(zval *), NULL); }

« previous php.cvs (#11545) next »