cvs: php-src /ext/mnogosearch php_mnogo.c
| From: | Sergey Kartashoff | Date: | Wed, 12 Nov 2003 07:40:17 +0000 |
| Subject: | cvs: php-src /ext/mnogosearch php_mnogo.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24496@lists.php.net to get a copy of this message | ||
gluke Wed Nov 12 02:40:17 2003 EDT
Modified files:
/php-src/ext/mnogosearch php_mnogo.c
Log:
- A bug in WORDINFO calculation in mnogosearch extension was fixed.
Index: php-src/ext/mnogosearch/php_mnogo.c
diff -u php-src/ext/mnogosearch/php_mnogo.c:1.83 php-src/ext/mnogosearch/php_mnogo.c:1.84
--- php-src/ext/mnogosearch/php_mnogo.c:1.83 Sat Nov 8 09:36:31 2003
+++ php-src/ext/mnogosearch/php_mnogo.c Wed Nov 12 02:40:16 2003
@@ -1,5 +1,5 @@
/* $Source: /usr/repository/php-src/ext/mnogosearch/php_mnogo.c,v $ */
-/* $Id: php_mnogo.c,v 1.83 2003/11/08 14:36:31 gluke Exp $ */
+/* $Id: php_mnogo.c,v 1.84 2003/11/12 07:40:16 gluke Exp $ */
/*
+----------------------------------------------------------------------+
@@ -2247,7 +2247,6 @@
} else if (Res->WWList.Word[i].origin == UDM_WORD_ORIGIN_QUERY) {
sprintf(UDM_STREND(wordinfo),"%s%s : %d / %d", (*wordinfo) ? ", " :
"", Res->WWList.Word[i].word, Res->WWList.Word[i].count, ccount);
} else continue;
- sprintf(UDM_STREND(wordinfo)," / %d", ccount);
}
RETURN_STRING(wordinfo,1);
}