Sha256: d142c23d7068ee71f4b134c61871e6de57b5b77630d3bbc07eb606c3222dff4d
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
#include "common.h" memcached_return_t memcached_key_test(const char * const *keys, const size_t *key_length, size_t number_of_keys) { for (uint32_t x= 0; x < number_of_keys; x++) { memcached_return_t rc; rc= memcached_validate_key_length(*(key_length + x), false); if (rc != MEMCACHED_SUCCESS) return rc; for (size_t y= 0; y < *(key_length + x); y++) { if ((isgraph(keys[x][y])) == 0) return MEMCACHED_BAD_KEY_PROVIDED; } } return MEMCACHED_SUCCESS; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
couchbase-memcached-1.2.9 | ext/libmemcached-0.50/libmemcached/key.cc |
couchbase-memcached-1.2.8 | ext/libmemcached-0.50/libmemcached/key.cc |