*
*/
-#include "libmemcached/common.h"
-
-#include <iostream>
+#include <libmemcached/common.h>
#include <libmemcached/options/context.h>
{
memcached_st memc, *memc_ptr;
+ if (error_buffer_size)
+ error_buffer[0]= 0;
+
if (! (memc_ptr= memcached_create(&memc)))
return MEMCACHED_MEMORY_ALLOCATION_FAILURE;
{
WATCHPOINT_ASSERT(self);
if (! self)
+ {
return memcached_set_error(self, MEMCACHED_INVALID_ARGUMENTS, NULL);
+ }
memcached_return_t rc;
Context context(option_string, length, self, rc);