Revision 34
Small colonet cleanup.
ColonetServer.cpp | ||
---|---|---|
111 | 111 |
socklen_t client_addr_size = sizeof(client_addr); |
112 | 112 |
struct timeval select_timeout; |
113 | 113 |
|
114 |
memset(&select_timeout,0,sizeof(select_timeout));
|
|
114 |
memset(&select_timeout, 0, sizeof(select_timeout));
|
|
115 | 115 |
|
116 | 116 |
log_message("Server initialized. About to start listening for connections"); |
117 | 117 |
|
... | ... | |
193 | 193 |
//probably be false (changed for demo purposes) |
194 | 194 |
|
195 | 195 |
if (!wireless->run_listener_thread()) { |
196 |
return -1;
|
|
197 |
}
|
|
196 |
return -1;
|
|
197 |
}
|
|
198 | 198 |
|
199 |
return 0;
|
|
199 |
return 0;
|
|
200 | 200 |
} |
201 | 201 |
|
202 | 202 |
/** |
Also available in: Unified diff