Standardize the snprintf() failure messages, and add tests for libmemcached_util_getpid()
[awesomized/libmemcached] / libtest / server.cc
index cb15aee94cbd2250636697681e7b78dc5a5ea577..f82aa29985e056991dbf5b47c5bf0b744c7091d5 100644 (file)
@@ -195,3 +195,11 @@ server_startup_st::~server_startup_st()
   }
   servers.clear();
 }
+
+void server_shutdown(server_startup_st *construct)
+{
+  if (not construct)
+    return;
+
+  construct->shutdown();
+}