X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftpath.c;h=38d66ef72185edc23c4ba16f131d3a24db8978be;hp=e57b0932cf845b937e31926b96553ceb550338c4;hb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;hpb=67002f49611adb64993391b0cbf6c235f18080a4 diff --git a/src/tpath.c b/src/tpath.c index e57b093..38d66ef 100644 --- a/src/tpath.c +++ b/src/tpath.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tpath.c,v 1.5 2005-01-15 19:47:14 adam Exp $ + * $Id: tpath.c,v 1.6 2005-06-25 15:46:06 adam Exp $ */ /** * \file tpath.c @@ -37,7 +37,7 @@ FILE *yaz_fopen(const char *path, const char *name, const char *mode, for(;;) { - FILE *f; + FILE *f; const char *path_sep = 0; size_t len = 0; @@ -71,8 +71,8 @@ FILE *yaz_fopen(const char *path, const char *name, const char *mode, spath[slen++] = '/'; } strcpy (spath+slen, name); - if ((f = fopen(spath, mode))) - return f; + if ((f = fopen(spath, mode))) + return f; if (!path_sep) break; @@ -93,3 +93,11 @@ int yaz_is_abspath (const char *p) #endif return 0; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +