Version 1.3.50.
[idzebra-moved-to-github.git] / data1 / d1_doespec.c
index f6b0571..53b6069 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: d1_doespec.c,v 1.2.2.2 2005-02-08 00:53:13 adam Exp $
+/* $Id: d1_doespec.c,v 1.2.2.4 2006-12-05 21:14:38 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #include <assert.h>
@@ -188,7 +188,7 @@ static int match_node_and_attr (data1_node *c, const char *spec)
     }
     else
     {
-       yaz_log(LOG_WARN, "Bad simpleelement component: '%s'", spec);
+       yaz_log(YLOG_WARN, "Bad simpleelement component: '%s'", spec);
     }
     return 0;
 }
@@ -247,7 +247,7 @@ static int match_children_here (data1_handle dh, data1_node *n,
            }
            else
            {
-               yaz_log(LOG_WARN, "Bad SpecificTag type: %d",
+               yaz_log(YLOG_WARN, "Bad SpecificTag type: %d",
                        want->tagValue->which);
                continue;
            }
@@ -262,7 +262,7 @@ static int match_children_here (data1_handle dh, data1_node *n,
        counter++;
        if (occur && occur->which == Z_Occurrences_last)
        {
-           yaz_log(LOG_WARN, "Can't do occurrences=last (yet)");
+           yaz_log(YLOG_WARN, "Can't do occurrences=last (yet)");
            return 0;
        }
        if (!occur || occur->which == Z_Occurrences_all ||