From 8407158947485c3897c8232bf5a1f4501eb5e710 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 5 May 2006 17:18:50 +0000 Subject: [PATCH] Avoid declaration after statement --- data1/d1_handle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data1/d1_handle.c b/data1/d1_handle.c index d2ebb79..25cbb76 100644 --- a/data1/d1_handle.c +++ b/data1/d1_handle.c @@ -1,4 +1,4 @@ -/* $Id: d1_handle.c,v 1.9 2006-05-05 13:17:34 adam Exp $ +/* $Id: d1_handle.c,v 1.10 2006-05-05 17:18:50 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -150,9 +150,9 @@ const char *data1_get_tabroot (data1_handle dp) FILE *data1_path_fopen (data1_handle dh, const char *file, const char *mode) { - yaz_log(YLOG_DEBUG, "data1_fath_fopen file=%s mode=%s", file, mode); const char *path = data1_get_tabpath(dh); const char *root = data1_get_tabroot(dh); + yaz_log(YLOG_DEBUG, "data1_fath_fopen file=%s mode=%s", file, mode); return yaz_fopen (path, file, "r", root); } -- 1.7.10.4