Parent Directory
|
Revision Log
|
Patch
| Revision 1.5 by sysadm, Wed Oct 20 07:46:32 2004 UTC | Revision 1.7 by sysadm, Thu Mar 17 10:48:46 2005 UTC | |
|---|---|---|
| # | Line 17 | Line 17 |
| 17 | ||
| 18 | #include "bbs.h" | #include "bbs.h" |
| 19 | #include "common.h" | #include "common.h" |
| 20 | #include "io.h" | |
| 21 | #include <unistd.h> | |
| 22 | #include <signal.h> | |
| 23 | #include <sys/param.h> | |
| 24 | #include <sys/types.h> | |
| 25 | #include <sys/stat.h> | |
| 26 | ||
| 27 | void | void |
| 28 | init_daemon (void) | init_daemon (void) |
| # | Line 57 load_conf (const char *conf_file) | Line 63 load_conf (const char *conf_file) |
| 63 | ||
| 64 | if ((fin = fopen (conf_file, "r")) == NULL) | if ((fin = fopen (conf_file, "r")) == NULL) |
| 65 | { | { |
| 66 | log_error ("Open bbsd.conf failed"); | log_error ("Open %s failed", conf_file); |
| 67 | return -1; | return -1; |
| 68 | } | } |
| 69 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |