cvs: php4 /ext/mnogosearch php_mnogo.c

From: Date: Thu, 03 May 2001 08:59:48 +0000
Subject: cvs: php4 /ext/mnogosearch php_mnogo.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5487@lists.php.net to get a copy of this message
gluke Thu May 3 01:59:48 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c Log: Some fixes in Udm_Cat_List and Udm_Cat_Path functions. Index: php4/ext/mnogosearch/php_mnogo.c diff -u php4/ext/mnogosearch/php_mnogo.c:1.25 php4/ext/mnogosearch/php_mnogo.c:1.26 --- php4/ext/mnogosearch/php_mnogo.c:1.25 Mon Apr 30 04:11:17 2001 +++ php4/ext/mnogosearch/php_mnogo.c Thu May 3 01:59:47 2001 @@ -1,5 +1,5 @@ /* $Source: /local/repository/php4/ext/mnogosearch/php_mnogo.c,v $ */ -/* $Id: php_mnogo.c,v 1.25 2001/04/30 11:11:17 gluke Exp $ */ +/* $Id: php_mnogo.c,v 1.26 2001/05/03 08:59:47 gluke Exp $ */ /* +----------------------------------------------------------------------+ @@ -1155,7 +1155,8 @@ while(c->rec_id){ snprintf(buf, UDMSTRSIZ, "%s%s",c->link[0]?"@ ":"", c->name); - add_assoc_string(return_value, c->link[0]?c->link:c->path, buf, 1); + add_next_index_string(return_value, c->link[0]?c->link:c->path, 1); + add_next_index_string(return_value, buf, 1); c++; } @@ -1204,7 +1205,8 @@ while(c->rec_id){ snprintf(buf, UDMSTRSIZ, "%s%s",c->link[0]?"@ ":"", c->name); - add_assoc_string(return_value, c->link[0]?c->link:c->path, buf, 1); + add_next_index_string(return_value, c->link[0]?c->link:c->path, 1); + add_next_index_string(return_value, buf, 1); c++; }

« previous php.cvs (#5487) next »