X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftstsoap1.c;h=eb2ba11d7974f13fb85d1728724ef44343b031f6;hp=2290e83ca07f80aea94a4bebea617447b8063250;hb=88d3bedf772316f87e1996f655ccf8d1e2589755;hpb=fc6d778b923000b5c6ad8e108b0b184178a9d33f diff --git a/test/tstsoap1.c b/test/tstsoap1.c index 2290e83..eb2ba11 100644 --- a/test/tstsoap1.c +++ b/test/tstsoap1.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: tstsoap1.c,v 1.7 2006-07-06 10:17:55 adam Exp $ */ #include @@ -11,7 +9,7 @@ #endif #include -void tst() +void tst(void) { #if YAZ_HAVE_XML2 xmlChar *buf_out; @@ -19,7 +17,7 @@ void tst() xmlDocPtr doc; xmlNodePtr top; #if 0 - const char *val = "jordbær"; /* makes xmlDocDumpMemory hang .. */ + const char *val = "jordb" "\xe6" "r"; /* makes xmlDocDumpMemory hang .. */ #else const char *val = "jordbaer"; /* OK */ #endif @@ -56,6 +54,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