Subversion Repositories Tewi

Rev

Rev 119 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 168
Line 1... Line 1...
1
/* $Id: main.c 119 2024-09-21 09:05:03Z nishi $ */
1
/* $Id: main.c 168 2024-09-26 20:24:04Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 84... Line 84...
84
#else
84
#else
85
	int st = startup(argc, argv);
85
	int st = startup(argc, argv);
86
	if(st != -1) return st;
86
	if(st != -1) return st;
87
	tw_server_loop();
87
	tw_server_loop();
88
#endif
88
#endif
-
 
89
	return 0;
89
}
90
}
90
 
91
 
91
int startup(int argc, char** argv) {
92
int startup(int argc, char** argv) {
92
	int i;
93
	int i;
93
	const char* confpath = PREFIX "/etc/tewi.conf";
94
	const char* confpath = PREFIX "/etc/tewi.conf";