Sha256: 7665f0044414684f27812209c753a5b9f67a8b8a7f02661a67d06930587eb8f5
Contents?: true
Size: 547 Bytes
Versions: 27
Compression:
Stored size: 547 Bytes
Contents
#include "common.h" memcached_return memcached_key_test(const char **keys, size_t *key_length, size_t number_of_keys) { uint32_t x; memcached_return rc; for (x= 0; x < number_of_keys; x++) { size_t y; rc= memcached_validate_key_length(*(key_length + x), false); if (rc != MEMCACHED_SUCCESS) return rc; for (y= 0; y < *(key_length + x); y++) { if ((isgraph(keys[x][y])) == 0) return MEMCACHED_BAD_KEY_PROVIDED; } } return MEMCACHED_SUCCESS; }
Version data entries
27 entries across 27 versions & 4 rubygems