cvs: php4 /ext/yaz php_yaz.c

From: Date: Mon, 28 Apr 2003 20:47:26 +0000
Subject: cvs: php4 /ext/yaz php_yaz.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20560@lists.php.net to get a copy of this message
sniper Mon Apr 28 16:47:26 2003 EDT Modified files: /php4/ext/yaz php_yaz.c Log: ws fix Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.68 php4/ext/yaz/php_yaz.c:1.69 --- php4/ext/yaz/php_yaz.c:1.68 Mon Apr 28 15:51:44 2003 +++ php4/ext/yaz/php_yaz.c Mon Apr 28 16:47:26 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_yaz.c,v 1.68 2003/04/28 19:51:44 dickmeiss Exp $ */ +/* $Id: php_yaz.c,v 1.69 2003/04/28 20:47:26 sniper Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -383,7 +383,7 @@ #endif ZEND_REGISTER_RESOURCE(return_value, &shared_associations[i], le_link); - as->zval_resource = Z_LVAL_P(return_value); + as->zval_resource = Z_LVAL_P(return_value); } /* }}} */ @@ -513,7 +513,7 @@ if (ZEND_NUM_ARGS() == 1) { long *val = 0; - long *event_bool = 0; + long *event_bool = 0; HashTable *options_ht = 0; if (zend_get_parameters_ex(1, &pval_options) == FAILURE) { WRONG_PARAM_COUNT; @@ -547,8 +547,8 @@ #ifdef ZTS tsrm_mutex_unlock(yaz_mutex); #endif - if (event_mode) { - long ev = ZOOM_event(no, conn_ar); + if (event_mode) { + long ev = ZOOM_event(no, conn_ar); if (ev <= 0) { RETURN_FALSE; } else { @@ -561,12 +561,12 @@ Z_LVAL_P(return_value) = p->zval_resource; Z_TYPE_P(return_value) = IS_RESOURCE; return; - } - } + } + } if (no) { - while (ZOOM_event (no, conn_ar)) - ; + while (ZOOM_event (no, conn_ar)) + ; } RETURN_TRUE; }

« previous php.cvs (#20560) next »