Webboard: Wrong score when UserScore gets 0 and UserScoreFactor is set

[email protected]
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <[email protected]>
Author: Alexander Barkov
Email: [email protected]
Message:
Hi Amar,



Thanks for reporting! This patch fixes the problem:





diff -u -r1.246 score.c

--- score.c	27 Jan 2011 13:57:22 -0000	1.246

+++ score.c	4 Oct 2011 07:11:06 -0000

@@ -2318,7 +2318,7 @@

                                       UserScoreList->nitems,

                                       sizeof(UDM_URL_INT4),

                                       (udm_qsort_cmp)UdmCmpURLID);

-    if (found)

+    if (found && found->param != 0)

     {

       nfound++;

       if (found->param >= 0)





Reply: <http://www.mnogosearch.org/board/message.php?id=21302>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.