Skip to main content.
home | support | download

Back to List Archive

Re: Comparaison for indexation beetwen stable ans

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Aug 21 2002 - 15:46:42 GMT
At 07:10 AM 08/21/02 -0700, m.chartoire@ipnl.in2p3.fr wrote:
>But for the number of indexed files, it seem that 2.1-dev-25 do not index 
>equivalent server. As you can see in config files I have the same directives:
>
>EquivalentServer http://lyoinfo.in2p3.fr http://snovae.in2p3.fr/ipnl
>EquivalentServer http://lyoinfo.in2p3.fr http://doc.in2p3.fr/delphi/ipnl

You may specify more than one "equivalent" server on the same line, if you
like.

Here's the quick hack patch:

Index: http.c
===================================================================
RCS file: /cvsroot/swishe/swish-e/src/http.c,v
retrieving revision 1.26
diff -u -u -r1.26 http.c
--- http.c      15 Aug 2002 05:32:16 -0000      1.26
+++ http.c      21 Aug 2002 15:43:27 -0000
@@ -183,7 +183,7 @@
                 /* Add a new entry to this list */
                 slist = (struct swline *) emalloc(sizeof(struct swline));
 
-                slist->line = sl->word[i];
+                slist->line = estrdup( sl->word[i] );
                 slist->next = list->list;
                 list->list = slist;
             }

-- 
Bill Moseley
mailto:moseley@hank.org
Received on Wed Aug 21 15:50:10 2002