removed a few debug stmts
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Jan 2009 13:30:24 +0000 (14:30 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 15 Jan 2009 13:30:24 +0000 (14:30 +0100)
index/mod_dom.c
util/snippet.c

index 5eb3e29..3340ec4 100644 (file)
@@ -1419,13 +1419,11 @@ static int ioread_ret(void *context, char *buffer, int len)
 {
     struct recRetrieveCtrl *p = context;
     int r = p->stream->readf(p->stream, buffer, len);
 {
     struct recRetrieveCtrl *p = context;
     int r = p->stream->readf(p->stream, buffer, len);
-    yaz_log(YLOG_LOG, "ioread_ret len=%d r=%d\%.*s", len, r, r, buffer);
     return r;
 }
 
 static int ioclose_ret(void *context)
 {
     return r;
 }
 
 static int ioclose_ret(void *context)
 {
-    yaz_log(YLOG_LOG, "ioclose_ret");
     return 0;
 }
 
     return 0;
 }
 
index 9be51e9..a1a289f 100644 (file)
@@ -219,11 +219,6 @@ const struct zebra_snippet_word *zebra_snippets_lookup(
     for (hit_w = zebra_snippets_constlist(hit); hit_w; hit_w = hit_w->next)
     {
        const zebra_snippet_word *doc_w;
     for (hit_w = zebra_snippets_constlist(hit); hit_w; hit_w = hit_w->next)
     {
        const zebra_snippet_word *doc_w;
-        doc_w = zebra_snippets_constlist(doc);
-        if (!doc_w)
-            {
-                yaz_log(YLOG_WARN, "zebra_snippets_constlist returns 0");
-            }
         for (doc_w = zebra_snippets_constlist(doc); doc_w; doc_w = doc_w->next)
         {
             if (doc_w->ord == hit_w->ord && doc_w->seqno == hit_w->seqno
         for (doc_w = zebra_snippets_constlist(doc); doc_w; doc_w = doc_w->next)
         {
             if (doc_w->ord == hit_w->ord && doc_w->seqno == hit_w->seqno