From e803619bc6156837591746b54bd2796127d07a28 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 15 Apr 2002 17:11:37 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/cache.c b/mbbsd/cache.c index 054bd16b..2182423f 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -1,4 +1,4 @@ -/* $Id: cache.c,v 1.10 2002/04/15 17:07:11 ptt Exp $ */ +/* $Id: cache.c,v 1.11 2002/04/15 17:11:37 ptt Exp $ */ #include #include #include @@ -1026,14 +1026,13 @@ int hbflcheck(int bid, int uid) } #ifdef MDCACHE -int cachepath(char *cpath, const char *fpath) +void cachepath(char *cpath, const char *fpath) { char *ptr; snprintf(cpath, sizeof(cpath), "cache/%s", fpath); for( ptr = &cpath[6] ; *ptr != 0 ; ++ptr ) if( *ptr == '/' ) *ptr = '.'; - return cpath; } int updatemdcache(const char *CPATH, const char *fpath) -- cgit v1.2.3