Sha256: 3f9fad3827375ce9dac843c48d71d5ec22cc96ccdb52831472c61abaea90dbc6
Contents?: true
Size: 560 Bytes
Versions: 18
Compression:
Stored size: 560 Bytes
Contents
#include "common.h" #include "memcached_io.h" memcached_return memcached_flush_buffers(memcached_st *mem) { memcached_return ret= MEMCACHED_SUCCESS; for (uint32_t x= 0; x < mem->number_of_hosts; ++x) if (mem->hosts[x].write_buffer_offset != 0) { if (mem->hosts[x].fd == -1 && (ret= memcached_connect(&mem->hosts[x])) != MEMCACHED_SUCCESS) { WATCHPOINT_ERROR(ret); return ret; } if (memcached_io_write(&mem->hosts[x], NULL, 0, 1) == -1) ret= MEMCACHED_SOME_ERRORS; } return ret; }
Version data entries
18 entries across 18 versions & 2 rubygems