diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-16 01:11:37 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-16 01:11:37 +0800 |
commit | e803619bc6156837591746b54bd2796127d07a28 (patch) | |
tree | f77f4d110b67dd032764ae906c16252023e863dd | |
parent | 65ff9f98b70203b08ed8238c6ed389f21c61f289 (diff) | |
download | pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar.gz pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar.bz2 pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar.lz pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar.xz pttbbs-e803619bc6156837591746b54bd2796127d07a28.tar.zst pttbbs-e803619bc6156837591746b54bd2796127d07a28.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cache.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> @@ -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) |