diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-28 10:11:45 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-28 10:11:45 +0800 |
commit | ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62 (patch) | |
tree | 82f27f024fa8cb2f75bbb57bcd0978559bfad96e /mbbsd | |
parent | 6053ebd7b8ea66bd915590130737ff8d4edb0261 (diff) | |
download | pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar.gz pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar.bz2 pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar.lz pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar.xz pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.tar.zst pttbbs-ffe7ef60716d2d6a90e85a60d8e0f10c830ccb62.zip |
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/mbbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 9990357d..245fd263 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.53 2002/08/27 18:08:42 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.54 2002/08/28 02:11:45 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -1183,6 +1183,7 @@ main(int argc, char *argv[], char *envp[]) signal(SIGUSR2, SIG_IGN); /* check if invoked as "bbs" */ + attach_SHM(); if (argc == 3) shell_login(argc, argv, envp); else @@ -1267,7 +1268,6 @@ daemon_login(int argc, char *argv[], char *envp[]) fclose(fp); } - attach_SHM(); /* main loop */ for (;;) { len_of_sock_addr = sizeof(xsin); |