diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-22 17:29:54 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-22 17:29:54 +0800 |
commit | e3c5900e9ceaef5367fbd367187de15835ab0798 (patch) | |
tree | b552b9300e31cc02e94e988a7e55aa7a1d140a45 | |
parent | af6236b5ebb86393e3b30392b25a4cb705cb0a21 (diff) | |
download | pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar.gz pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar.bz2 pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar.lz pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar.xz pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.tar.zst pttbbs-e3c5900e9ceaef5367fbd367187de15835ab0798.zip |
re-initiate counter
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/bbsctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/util/bbsctl.c b/pttbbs/util/bbsctl.c index 998cd98c..8daa89c3 100644 --- a/pttbbs/util/bbsctl.c +++ b/pttbbs/util/bbsctl.c @@ -226,6 +226,7 @@ int permreport(int argc, char **argv) return 1; } for( count = i = 0 ; check[i].perm != 0 ; ++i ){ + count = 0; lseek(fd, 0, SEEK_SET); printf("%s\n", check[i].desc); while( read(fd, &usr, sizeof(usr)) > 0 ){ |