projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix packaging issues.
[m6w6/libmemcached]
/
clients
/
memparse.cc
diff --git
a/clients/memparse.cc
b/clients/memparse.cc
index 2c80fcd50825c6fe92ee1186b1f67b703c0ef6c1..c2557dfd325ad8c52bb311e767f9ddf17284f929 100644
(file)
--- a/
clients/memparse.cc
+++ b/
clients/memparse.cc
@@
-37,6
+37,8
@@
#include <config.h>
#include <config.h>
+#include <cstdio>
+#include <cstring>
#include <iostream>
#include <libmemcached/memcached.h>
#include <iostream>
#include <libmemcached/memcached.h>
@@
-59,7
+61,7
@@
int main(int argc, char *argv[])
if (rc != MEMCACHED_SUCCESS)
{
std::cerr << "Failed to parse argument #" << x << " " << argv[x] << std::endl;
if (rc != MEMCACHED_SUCCESS)
{
std::cerr << "Failed to parse argument #" << x << " " << argv[x] << std::endl;
- std::cerr <<
"Error message from parser was:\t" <<
buffer << std::endl;
+ std::cerr << buffer << std::endl;
return EXIT_FAILURE;
}
}
return EXIT_FAILURE;
}
}