X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Flog.c;h=47464fefbb2bad75908587b880b7c7b00fe3c2c8;hb=ae309395bf5f5511c2eee751151a2962726f745a;hp=855c749a2689039a0d36b0459d626d7655928ff8;hpb=4ea32ed8aafed5ffecaeb5fe66ac9bb28f9dd180;p=yaz-moved-to-github.git diff --git a/src/log.c b/src/log.c index 855c749..47464fe 100644 --- a/src/log.c +++ b/src/log.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: log.c,v 1.54 2007-06-05 06:42:26 adam Exp $ */ /** @@ -294,7 +292,7 @@ static void yaz_log_open_check(struct tm *tm, int force, const char *filemode) if (yaz_file_type != use_file) return; - if (l_fname && *l_fname) + if (*l_fname) { strftime(new_filename, sizeof(new_filename)-1, l_fname, tm); if (strcmp(new_filename, cur_filename))