projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Standardize the snprintf() failure messages, and add tests for libmemcached_util_getpid()
[awesomized/libmemcached]
/
libtest
/
server.cc
diff --git
a/libtest/server.cc
b/libtest/server.cc
index cb15aee94cbd2250636697681e7b78dc5a5ea577..f82aa29985e056991dbf5b47c5bf0b744c7091d5 100644
(file)
--- a/
libtest/server.cc
+++ b/
libtest/server.cc
@@
-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();
+}