mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
notmuch-deliver: Don't read errno inappropriately.
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
This commit is contained in:
parent
8935c83c56
commit
c39fd2a479
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue