From: Sergey Kartashoff Date: Wed, 12 Nov 2003 07:52:57 +0000 (+0000) Subject: - A WORDINFO calculation in mnogosearch extension was fixed X-Git-Tag: php-4.3.5RC1~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d71244b42b4b9db8d3a74eb9acd0ac0baa535e76;p=php - A WORDINFO calculation in mnogosearch extension was fixed --- diff --git a/ext/mnogosearch/php_mnogo.c b/ext/mnogosearch/php_mnogo.c index 3b00de333f..171d2c8b53 100644 --- a/ext/mnogosearch/php_mnogo.c +++ b/ext/mnogosearch/php_mnogo.c @@ -2247,7 +2247,6 @@ DLEXPORT PHP_FUNCTION(udm_get_res_param) } 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); }