Project

General

Profile

Revision 453

fixed compile errors in colonetserver

View differences:

ConnectionPool.cpp
23 23
/**
24 24
 * @brief The default constructor for ConnectionPool
25 25
 */
26
ConnectionPool::ConnectionPool() {
26
ConnectionPool::ConnectionPool(ColonetServer* cs) {
27
  colonet_server = cs;
28

  
27 29
  max_file_descriptor = 0;
28 30
  next_available_slot = 0;
29 31
  number_clients_ready = 0;
......
335 337
        break;
336 338
      }
337 339

  
338
      Command command(this);
340
      Command command(this, colonet_server);
339 341
      if (command.parse_command(temporary_command_buffer, pool_index) != 0) {
340 342
        fprintf(stderr, "Error parsing command\n");
341 343
        break;

Also available in: Unified diff