projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge lp:~tangent-org/libmemcached/1.0-build Build: jenkins-Libmemcached-1.0-63
[awesomized/libmemcached]
/
clients
/
memparse.cc
diff --git
a/clients/memparse.cc
b/clients/memparse.cc
index 2c80fcd50825c6fe92ee1186b1f67b703c0ef6c1..ab4cee9eb7d72e949f97b0e3077c412d646dcb19 100644
(file)
--- a/
clients/memparse.cc
+++ b/
clients/memparse.cc
@@
-2,7
+2,7
@@
*
* Libmemcached library
*
*
* Libmemcached library
*
- * Copyright (C) 2011 Data Differential, http://datadifferential.com/
+ * Copyright (C) 2011
-2012
Data Differential, http://datadifferential.com/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-37,9
+37,11
@@
#include <config.h>
#include <config.h>
+#include <cstdio>
+#include <cstring>
#include <iostream>
#include <iostream>
-#include <libmemcached/memcached.h>
+#include <libmemcached
-1.0
/memcached.h>
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
@@
-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;
}
}