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 | 767e9446b7cd77d4ae088af56be3cc7ee6eb2588 (patch) | |
tree | 52d819d7defa310789efe8ce105beaff8f692fa2 | |
parent | c5e30ed10765aacc59bc12fdffc8200b5671349d (diff) | |
download | pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar.gz pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar.bz2 pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar.lz pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar.xz pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.tar.zst pttbbs-767e9446b7cd77d4ae088af56be3cc7ee6eb2588.zip |
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/mbbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c index 9990357d..245fd263 100644 --- a/pttbbs/mbbsd/mbbsd.c +++ b/pttbbs/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); |