X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebrash.c;h=116add4e3f5951cc65ff972d068cc5bbd8b3b7ea;hb=53a83124bdcc804090f4f793694b669021e4c63f;hp=a4bc18c8628df84ca39855c1bbd887cd99b74902;hpb=1b5ef8265837240930862dddd2d7ef963a0cc211;p=idzebra-moved-to-github.git diff --git a/index/zebrash.c b/index/zebrash.c index a4bc18c..116add4 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,8 +1,5 @@ -/* $Id: zebrash.c,v 1.46 2007-04-16 21:54:37 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 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 @@ -266,7 +263,7 @@ static int cmd_logf( char *args[], WRBUF outbuff) i=2; else lev=YLOG_LOG; /* this is in the default set!*/ - yaz_log( lev, restargs(args,i)); + yaz_log( lev, "%s", restargs(args,i)); return 0; /* ok */ } @@ -868,6 +865,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