diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-24 17:58:02 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-24 17:58:02 +0800 |
commit | 7c837ec5df1dd69d18a524410ee6aa5b40542a69 (patch) | |
tree | b616432bbf98c5e9d2f5a6a32ca42c13b930bb5f | |
parent | 1be86131c5e07815d694bc436ef903da8d58afef (diff) | |
download | pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar.gz pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar.bz2 pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar.lz pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar.xz pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.tar.zst pttbbs-7c837ec5df1dd69d18a524410ee6aa5b40542a69.zip |
forget to reset counter
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3079 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/fav.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index bd414ddf..e7875a72 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -312,6 +312,7 @@ static void rebuild_fav(fav_t *fp, int clean_invisible) fp->lineID = fp->folderID = 0; fp->nLines = fp->nFolders = fp->nBoards = 0; nData = fp->DataTail; + fp->DataTail = 0; for (i = 0, j = 0; i < nData; i++){ if (!(fp->favh[i].attr & FAVH_FAV)) |