X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebrash.c;h=ad123546797bb5b6facba0c6dceb5a28876308f6;hb=c00021ca63c39b965a6c02c51f56d359b9cba4b3;hp=39b71cc08ca50d5bac610408ffee4b03da2e2854;hpb=97a7adeb9e5059463f039495cc01cfa448463a27;p=idzebra-moved-to-github.git diff --git a/index/zebrash.c b/index/zebrash.c index 39b71cc..ad12354 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 Index Data + Copyright (C) 1994-2010 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 @@ -263,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 */ } @@ -865,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