/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ Copyright (C) 1994-2011 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stddef.h>
#include <string.h>
#include <yaz/nmem.h>
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