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:
2eae876
)
memcp: fix #83
author
Michael Wallner
<mike@php.net>
Mon, 20 Jan 2020 11:13:55 +0000
(12:13 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 20 Jan 2020 11:15:41 +0000
(12:15 +0100)
clients/memcp.cc
patch
|
blob
|
history
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)
{
- 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;
}