Update libtest/fedora/lion fixes
[awesomized/libmemcached] / libmemcached / connect.cc
index 8727b289d3831b5ed29dca65fb7654ffd548774f..e3638b46f1b8de0b605337bf4614f6f057950546 100644 (file)
@@ -131,7 +131,7 @@ static memcached_return_t set_hostinfo(memcached_server_st *server)
 
   char str_port[NI_MAXSERV];
   int length= snprintf(str_port, NI_MAXSERV, "%u", (uint32_t)server->port);
-  if (length >= NI_MAXSERV || length < 0)
+  if (length >= NI_MAXSERV or length < 0)
   {
     return MEMCACHED_FAILURE;
   }