projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
libmemcached: fix #50 with supplied patch
[awesomized/libmemcached]
/
clients
/
memcp.cc
diff --git
a/clients/memcp.cc
b/clients/memcp.cc
index d76faeecca8d31da36e6f23d2ebec9a3e1ea813d..d87e0cad0cb4bc1486ab60b9ef23a9f9b4f1bdc8 100644
(file)
--- a/
clients/memcp.cc
+++ b/
clients/memcp.cc
@@
-184,11
+184,8
@@
int main(int argc, char *argv[])
int fd= open(argv[optind], O_RDONLY);
if (fd < 0)
{
int fd= open(argv[optind], O_RDONLY);
if (fd < 0)
{
- if (opt_verbose)
- {
- std::cerr << "memcp " << argv[optind] << " " << strerror(errno) << std::endl;
- optind++;
- }
+ std::cerr << "memcp " << argv[optind] << " " << strerror(errno) << std::endl;
+ optind++;
exit_code= EXIT_FAILURE;
continue;
}
exit_code= EXIT_FAILURE;
continue;
}