diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-02-01 23:48:41 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-02-01 23:48:41 +0800 |
commit | e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d (patch) | |
tree | 4158c7f362b07f737a3a6790241f1970c491afe2 /innbbsd/bbslink.c | |
parent | eb02b264ab76ed138546da08deba14e64ffc22e1 (diff) | |
download | pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.gz pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.bz2 pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.lz pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.xz pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.tar.zst pttbbs-e7c8f48700a5f6e70f4c4d7e5f8171ffdc06ff6d.zip |
Fix some compile warnings
Remove unused code
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/bbslink.c')
-rw-r--r-- | innbbsd/bbslink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c index a8bd3aea..f9d8cc61 100644 --- a/innbbsd/bbslink.c +++ b/innbbsd/bbslink.c @@ -356,7 +356,7 @@ save_outgoing(sover, filename, userid, poster, mtime) server = nf->path; } if (!server || !*server) { - sprintf(PATH_BUF, "%.*s (local)", sizeof PATH_BUF - 9, MYBBSID); + sprintf(PATH_BUF, "%.*s (local)", (int)(sizeof(PATH_BUF) - 9), MYBBSID); PATH = PATH_BUF; serveraddr = ""; sover->path = PATH; |