Subversion Repositories Tewi

Rev

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

Rev 312 Rev 314
Line 1... Line 1...
1
/* $Id: server.c 312 2024-10-13 18:17:37Z nishi $ */
1
/* $Id: server.c 314 2024-10-14 07:37:04Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 626... Line 626...
626
				rej = true;
626
				rej = true;
627
			}
627
			}
628
		}
628
		}
629
#endif
629
#endif
630
		for(i = 0; i < config.module_count; i++) {
630
		for(i = 0; i < config.module_count; i++) {
-
 
631
#ifdef __OS2__
-
 
632
			tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "MOD_REQUEST");
-
 
633
#else
631
			tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "mod_request");
634
			tw_mod_request_t mod_req = (tw_mod_request_t)tw_module_symbol(config.modules[i], "mod_request");
-
 
635
#endif
632
			if(mod_req != NULL) {
636
			if(mod_req != NULL) {
633
				int ret = mod_req(&tools, &req, &res);
637
				int ret = mod_req(&tools, &req, &res);
634
				int co = ret & 0xff;
638
				int co = ret & 0xff;
635
				if(co == _TW_MODULE_PASS) {
639
				if(co == _TW_MODULE_PASS) {
636
					continue;
640
					continue;