if (ptr->hosts[server_key].fd == -1)
{
+ /* Old connection junk still is in the structure */
+ assert(ptr->hosts[server_key].stack_responses == 0);
+
if ((h= gethostbyname(ptr->hosts[server_key].hostname)) == NULL)
{
ptr->my_errno= h_errno;
}
ptr->connected++;
}
+ assert(ptr->hosts[server_key].stack_responses == 0);
}
return MEMCACHED_SUCCESS;