Parent Directory
|
Revision Log
|
Patch
| Revision 1.4 by sysadm, Tue Oct 19 17:11:39 2004 UTC | Revision 1.5 by sysadm, Wed Oct 20 07:46:32 2004 UTC | |
|---|---|---|
| # | Line 47 main (int argc, char *argv[]) | Line 47 main (int argc, char *argv[]) |
| 47 | //Initialize socket server | //Initialize socket server |
| 48 | net_server(BBS_address, BBS_port); | net_server(BBS_address, BBS_port); |
| 49 | ||
| /* | ||
| FILE *fp; | ||
| time_t t; | ||
| while (1) | ||
| { | ||
| sleep (60); | ||
| if ((fp = fopen ("bbsd.log", "a")) >= 0) | ||
| { | ||
| t = time (0); | ||
| fprintf (fp, "I'm here at %s\n", asctime (localtime (&t))); | ||
| fclose (fp); | ||
| } | ||
| } | ||
| */ | ||
| 50 | return 0; | return 0; |
| 51 | } | } |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |