- int set_count= atoi(getenv("LIBMEMCACHED_SERVER_NUMBER"));
- assert(set_count >= 0);
- world->servers().set_count(set_count);
+ unsigned long int set_count= strtoul(getenv("LIBMEMCACHED_SERVER_NUMBER"), (char **) NULL, 10);
+ fatal_assert(set_count >= 1);
+ world->servers().set_servers_to_run(set_count);