projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
922e14f
)
memacapable: warn about FLUSH
author
Michael Wallner
<mike@php.net>
Fri, 22 Jan 2021 14:10:16 +0000
(15:10 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 22 Jan 2021 14:10:16 +0000
(15:10 +0100)
src/bin/memcapable.cc
patch
|
blob
|
history
diff --git
a/src/bin/memcapable.cc
b/src/bin/memcapable.cc
index 54e9c2242bea3c28061814a83fda375e75dba85f..c57a89513f6aa0a3d5d4178b46e17e0b63c890ce 100644
(file)
--- a/
src/bin/memcapable.cc
+++ b/
src/bin/memcapable.cc
@@
-1868,7
+1868,8
@@
int main(int argc, char **argv) {
"\t\t\tEverything else will start the test\n"
"\t-T n\tJust run the test named n\n"
"\t-a\tOnly test the ascii protocol\n"
"\t\t\tEverything else will start the test\n"
"\t-T n\tJust run the test named n\n"
"\t-a\tOnly test the ascii protocol\n"
- "\t-b\tOnly test the binary protocol\n",
+ "\t-b\tOnly test the binary protocol\n\n"
+ "WARNING: This will FLUSH your server!\n\n",
argv[0]);
return EXIT_SUCCESS;
}
argv[0]);
return EXIT_SUCCESS;
}
@@
-1879,7
+1880,7
@@
int main(int argc, char **argv) {
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}
-
#ifdef _WIN32
+#ifdef _WIN32
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData)) {
fprintf(stderr, "Socket Initialization Error.\n");
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData)) {
fprintf(stderr, "Socket Initialization Error.\n");