From: Wez Furlong Date: Tue, 30 Apr 2002 00:22:44 +0000 (+0000) Subject: Remove debug code that should not have been committed. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0ed189159e78da56eb8d129ac45799bab865331;p=php Remove debug code that should not have been committed. # I must apologize for the quality of my commits tonight... --- diff --git a/main/streams.c b/main/streams.c index 06b549c1d3..5010fb7130 100755 --- a/main/streams.c +++ b/main/streams.c @@ -1469,12 +1469,7 @@ PHPAPI int php_stream_context_set_option(php_stream_context *context, { 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 @@ printf("creating a zval for wrapper:%s\n", wrappername); 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); }