From: Adam Dickmeiss Date: Fri, 5 Apr 2002 12:49:13 +0000 (+0000) Subject: Fix return value of yaz_fclose. X-Git-Tag: YAZ.1.8.7.CCL~29 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=c364aecd1a65c4d6bbc8fb97bd6949654ba9047f;p=yaz-moved-to-github.git Fix return value of yaz_fclose. --- diff --git a/util/tpath.c b/util/tpath.c index 10087cc..e205321 100644 --- a/util/tpath.c +++ b/util/tpath.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: tpath.c,v 1.7 2002-04-05 12:46:07 adam Exp $ + * $Id: tpath.c,v 1.8 2002-04-05 12:49:13 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -23,7 +23,7 @@ FILE *yaz_path_fopen(const char *path, const char *name, const char *mode) int yaz_fclose (FILE *f) { - fclose (f); + return fclose (f); } FILE *yaz_fopen(const char *path, const char *name, const char *mode,