summaryrefslogtreecommitdiff
path: root/ext/mnogosearch/php_mnogo.c
diff options
context:
space:
mode:
authorSergey Kartashoff <gluke@php.net>2003-11-12 07:40:17 +0000
committerSergey Kartashoff <gluke@php.net>2003-11-12 07:40:17 +0000
commit228918223e4234a65633980671e06e7948556f08 (patch)
treec0e8a69f1f7a192c8ed180813eb255315331f35e /ext/mnogosearch/php_mnogo.c
parent770a111a433207475f7778fe6bf3fa2db3b37659 (diff)
downloadphp-git-228918223e4234a65633980671e06e7948556f08.tar.gz
- A bug in WORDINFO calculation in mnogosearch extension was fixed.
Diffstat (limited to 'ext/mnogosearch/php_mnogo.c')
-rw-r--r--ext/mnogosearch/php_mnogo.c1
1 files changed, 0 insertions, 1 deletions
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);
}