From: Adam Dickmeiss Date: Mon, 18 Feb 2008 16:44:48 +0000 (+0000) Subject: Removed always true expression part in if stmt X-Git-Tag: YAZ.3.0.26~14 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=5b94469ebf68f1f9d2a23c9173bbd4d5a7d0b630;p=yaz-moved-to-github.git Removed always true expression part in if stmt --- diff --git a/src/log.c b/src/log.c index 855c749..93a2555 100644 --- a/src/log.c +++ b/src/log.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: log.c,v 1.54 2007-06-05 06:42:26 adam Exp $ + * $Id: log.c,v 1.55 2008-02-18 16:44:48 adam Exp $ */ /** @@ -294,7 +294,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))