Happy new year
[idzebra-moved-to-github.git] / dfa / agrep.c
index 2e762b6..23014c0 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2011 Index Data
+   Copyright (C) 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
@@ -18,6 +18,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <assert.h>
 #include <stdlib.h>
@@ -181,7 +184,7 @@ static int go (int fd, struct DFA_state **dfaar)
                         break;
                     }
                     for (t=s->trans, i=s->tran_no; --i >= 0; t++)
-                        if ((unsigned) *p >= t->ch[0] 
+                        if ((unsigned) *p >= t->ch[0]
                            && (unsigned) *p <= t->ch[1])
                             break;
                     p++;