%{_includedir}/libmemcached/options.h
%{_includedir}/libmemcached/parse.h
%{_includedir}/libmemcached/platform.h
+%{_includedir}/libmemcached/prefix_key.h
%{_includedir}/libmemcached/protocol/cache.h
%{_includedir}/libmemcached/protocol/callback.h
%{_includedir}/libmemcached/protocol_handler.h
random_options+= option_list[random() % option_list.size()]->c_str;
random_options+= " ";
}
- random_options.resize(random_options.size() -1);
memcached_return_t rc;
memcached_st *memc_ptr= memcached_create(NULL);
- rc= memcached_parse_configuration(memc_ptr, random_options.c_str(), random_options.size());
+ rc= memcached_parse_configuration(memc_ptr, random_options.c_str(), random_options.size() -1);
if (rc == MEMCACHED_PARSE_ERROR)
{
std::cerr << std::endl << "Failed to parse(" << memcached_strerror(NULL, rc) << "): " << random_options << std::endl;