return result;
else if (*error == MEMCACHED_END)
memcached_server_response_reset(server);
- else
+ else if (*error != MEMCACHED_NOTFOUND)
break;
}
memcached_return rc= MEMCACHED_FAILURE;
unsigned int x;
- while ((result= memcached_fetch_result(ptr, result, &rc)) != NULL) {
+ while ((result= memcached_fetch_result(ptr, result, &rc)) != NULL)
+ {
if (rc == MEMCACHED_SUCCESS)
{
for (x= 0; x < number_of_callbacks; x++)