Revision 347
fixed dumb wl library bug
ColonetServer.cpp | ||
---|---|---|
27 | 27 |
#define LISTEN_BACKLOG 5 |
28 | 28 |
#define LOG_BUFFER_LENGTH 128 |
29 | 29 |
|
30 |
#define u_int32_t unsigned |
|
31 |
|
|
30 | 32 |
ConnectionPool * connection_pool; |
31 | 33 |
|
32 | 34 |
/** |
... | ... | |
185 | 187 |
char* log_filename = NULL; |
186 | 188 |
|
187 | 189 |
if (optionsG.logging_enabled) { |
190 |
printf("Logging enabled.\n"); |
|
188 | 191 |
log_filename = optionsG.log_filename; |
192 |
} else { |
|
193 |
printf("Logging disabled.\n"); |
|
189 | 194 |
} |
190 | 195 |
|
191 |
colonet_wl_init(optionsG.wireless_port, wirelessMessageHandler, |
|
192 |
log_filename); |
|
196 |
printf("log filename = %p\n", log_filename); |
|
193 | 197 |
|
198 |
colonet_wl_init(optionsG.wireless_port, wirelessMessageHandler, log_filename); |
|
199 |
|
|
194 | 200 |
if (colonet_wl_run_listener_thread()) { |
195 | 201 |
fprintf(stderr, "%s: colonet_wl_run_listener_thread failed.\n", |
196 | 202 |
__FUNCTION__); |
Also available in: Unified diff