X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstxmlquery.c;h=1b6dc1bd69c7f8cfcb84d1d29602f522a84f7e15;hb=173f78f50536784bdc6a59d4586ba409b2b69182;hp=e0c79999503e15e09898fa8130c478ef804d8729;hpb=401da56d4a26f687cd42024bdef6f29a29bb7663;p=yaz-moved-to-github.git diff --git a/test/tstxmlquery.c b/test/tstxmlquery.c index e0c7999..1b6dc1b 100644 --- a/test/tstxmlquery.c +++ b/test/tstxmlquery.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. - * - * $Id: tstxmlquery.c,v 1.15 2007-03-19 14:40:07 adam Exp $ */ #include @@ -83,7 +81,7 @@ enum pqf2xml_status pqf2xml_text(const char *pqf, const char *expect_xml, else { status = XML_NO_MATCH; - printf("Result: %s\n", wrbuf_buf(w)); + printf("Result: %s\n", wrbuf_cstr(w)); } wrbuf_destroy(w); } @@ -242,6 +240,7 @@ int main (int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab