Bug fix: complete phrase search didn't work.
[idzebra-moved-to-github.git] / index / attribute.c
index 64d7035..a5cf209 100644 (file)
@@ -1,4 +1,19 @@
 /*
+ * Copyright (C) 1994-1995, Index Data I/S 
+ * All rights reserved.
+ * Sebastian Hammer, Adam Dickmeiss
+ *
+ * $Log: attribute.c,v $
+ * Revision 1.4  1996-10-29 14:06:48  adam
+ * Include zebrautl.h instead of alexutil.h.
+ *
+ * Revision 1.3  1996/05/09 07:28:54  quinn
+ * Work towards phrases and multiple registers
+ *
+ * Revision 1.2  1995/11/15  19:13:07  adam
+ * Work on record management.
+ *
+ *
  * This interface is used by other modules (the Z-server in particular)
  * to normalize the attributes given in queries.
  */
@@ -6,11 +21,9 @@
 #include <stdio.h>
 
 #include <log.h>
-#include <alexutil.h>
 #include <res.h>
-
-#include "d1_attset.h"
-
+#include <d1_attset.h>
+#include <zebrautl.h>
 #include "attribute.h"
 
 static int initialized = 0;
@@ -70,6 +83,6 @@ attent *att_getentbyatt(oid_value set, int att)
     if (!p)
        return 0;
     res.attset_ordinal = r->parent->ordinal;
-    res.local_attribute = r->local;
+    res.local_attributes = r->locals;
     return &res;
 }