diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 21:15:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 21:15:00 +0800 |
commit | f3156a5477c4ca44d6d64b9c5e4897e28ea936cf (patch) | |
tree | 6058087f3876a652d0a9b7814a3c100615448f6d /util | |
parent | c87da8855f7f3edcd1fba6578a2c3f809cad8dc8 (diff) | |
download | pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.gz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.bz2 pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.lz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.xz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.zst pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.zip |
better readability.
real => adminmode,
HAS_PERM() => HasUserPerm(),
HasPerm() => HasBoardPerm().
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/buildir.c | 1 | ||||
-rw-r--r-- | util/checkdir.c | 2 | ||||
-rw-r--r-- | util/checkmoney.c | 2 | ||||
-rw-r--r-- | util/chkhbf.c | 2 | ||||
-rw-r--r-- | util/cleanpasswd.c | 2 | ||||
-rw-r--r-- | util/gamblegive.c | 2 | ||||
-rw-r--r-- | util/merge_dir.c | 2 | ||||
-rw-r--r-- | util/transman.c | 2 |
8 files changed, 8 insertions, 7 deletions
diff --git a/util/buildir.c b/util/buildir.c index cccc8c8a..d8b7e339 100644 --- a/util/buildir.c +++ b/util/buildir.c @@ -102,6 +102,7 @@ int main(int argc, char **argv) if( fhdr.title[i] == '\e' || fhdr.title[i] == '\b' ) fhdr.title[i] = ' '; + printf("%s, owner: %s, title: %s\n", path, fhdr.owner, fhdr.title); break; } } else if(strncmp(buf, "☉ 歡迎光臨", 11) == 0) { diff --git a/util/checkdir.c b/util/checkdir.c index 5c98a874..fb02f43a 100644 --- a/util/checkdir.c +++ b/util/checkdir.c @@ -1,4 +1,4 @@ -/* $Id: checkdir.c 1356 2003-11-22 02:16:02Z victor $ */ +/* $Id$ */ /* typedef struct fileheader_t { char filename[FNLEN]; diff --git a/util/checkmoney.c b/util/checkmoney.c index 0f86420b..a9ad9773 100644 --- a/util/checkmoney.c +++ b/util/checkmoney.c @@ -1,4 +1,4 @@ -/* $Id: checkmoney.c 1645 2004-03-31 01:24:38Z ptt $ */ +/* $Id$ */ #define _UTIL_C_ #include "bbs.h" diff --git a/util/chkhbf.c b/util/chkhbf.c index d4ad5e24..3203a3d0 100644 --- a/util/chkhbf.c +++ b/util/chkhbf.c @@ -1,4 +1,4 @@ -/* $Id: shmctl.c 1484 2004-01-15 17:37:12Z in2 $ */ +/* $Id$ */ #include "bbs.h" struct { diff --git a/util/cleanpasswd.c b/util/cleanpasswd.c index 60ae650d..ffb13393 100644 --- a/util/cleanpasswd.c +++ b/util/cleanpasswd.c @@ -1,4 +1,4 @@ -/* $Id: toplazyBM.c 1096 2003-08-15 06:13:29Z victor $ */ +/* $Id$ */ #define _UTIL_C_ #include "bbs.h" diff --git a/util/gamblegive.c b/util/gamblegive.c index 8bc8d441..9ce66e5c 100644 --- a/util/gamblegive.c +++ b/util/gamblegive.c @@ -1,4 +1,4 @@ -/* $Id: gamblegive.c 1096 2003-08-15 06:13:29Z Ptt $ */ +/* $Id$ */ /* 爭議賭盤 產生紅包機格式 */ #define _UTIL_C_ #include "bbs.h" diff --git a/util/merge_dir.c b/util/merge_dir.c index 37ff8919..1fe74368 100644 --- a/util/merge_dir.c +++ b/util/merge_dir.c @@ -1,4 +1,4 @@ -/* $Id: merge_dir.c 1096 2003-08-15 06:13:29Z victor $ */ +/* $Id$ */ #define _UTIL_C_ #include "bbs.h" diff --git a/util/transman.c b/util/transman.c index 6ed5988e..711e8ead 100644 --- a/util/transman.c +++ b/util/transman.c @@ -1,4 +1,4 @@ -/* $Id: transman 1298 2003-11-04 12:27:48Z Ptt $ */ +/* $Id$ */ // tools to translate the format of eagle bbs -> Ptt bbs */ #include "bbs.h" |