projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8935c83
)
notmuch-deliver: Don't read errno inappropriately.
author
Thomas Schwinge
<thomas@schwinge.name>
Wed, 29 Dec 2010 19:35:02 +0000
(20:35 +0100)
committer
Ali Polatel
<alip@exherbo.org>
Fri, 4 Nov 2011 23:12:35 +0000
(
01:12
+0200)
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
contrib/notmuch-deliver/src/main.c
patch
|
blob
|
history
diff --git
a/contrib/notmuch-deliver/src/main.c
b/contrib/notmuch-deliver/src/main.c
index 86437763e9431c02d683c3a24aa429135eed0cd5..f7a4eaa6576bd1ec544d54c54b0e3d6e158388d0 100644
(file)
--- a/
contrib/notmuch-deliver/src/main.c
+++ b/
contrib/notmuch-deliver/src/main.c
@@
-167,8
+167,7
@@
save_splice(int fdin, int fdout)
do {
written = splice(pfd[0], NULL, fdout, NULL, ret, 0);
if (!written) {
- g_critical("Splicing data to temporary file failed: %s",
- g_strerror(errno));
+ g_critical("Splicing data to temporary file failed: internal error");
close(pfd[0]);
close(pfd[1]);
return EX_IOERR;