Fixed typo (yes I copied this code from the memcached connector ;) )