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 | 637b651851157400c12c3c8f0ba3bccc83dc4769 (patch) | |
tree | 6d63e87c18b97a03967d5fbe29f0097af9618014 /util | |
parent | 1702202cd9548aaaa7f7eee27ad7293b3d4ccd2c (diff) | |
download | pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar.gz pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar.bz2 pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar.lz pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar.xz pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.tar.zst pttbbs-637b651851157400c12c3c8f0ba3bccc83dc4769.zip |
re-initiate counter
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@807 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/bbsctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/bbsctl.c b/util/bbsctl.c index 998cd98c..8daa89c3 100644 --- a/util/bbsctl.c +++ b/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 ){ |