{
*key_length= 0;
- for (; isalnum(*string_ptr); string_ptr++)
+ for (; isgraph(*string_ptr); string_ptr++)
{
*key= *string_ptr;
key++;
}
}
else /* Skip characters */
- for (; isalnum(*string_ptr); string_ptr++);
+ for (; isgraph(*string_ptr); string_ptr++);
if (end_ptr == string_ptr)
goto read_error;
return NULL;
}
- /* An error has occurred */
+ /* We have completed reading data */
if (result->is_allocated == MEMCACHED_ALLOCATED)
memcached_result_free(result);
else