diff options
author | Eric Wong <e@80x24.org> | 2023-12-01 02:07:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-12-01 21:12:13 +0000 |
commit | 2a71ffab935d66cf2a985bc1c01540e721ea72e8 (patch) | |
tree | 97f2f6911be867719609f5a5a726a820c0e62403 /lib/PublicInbox/xap_helper.h | |
parent | 203cae29ecacae348ba18447582ed7fd948aef61 (diff) | |
download | public-inbox-2a71ffab935d66cf2a985bc1c01540e721ea72e8.tar.gz |
I mixed up "flush" with "close" :x Fixes: 87b7f633f241 (xap_helper: implement mset endpoint for WWW, IMAP, etc...)
Diffstat (limited to 'lib/PublicInbox/xap_helper.h')
-rw-r--r-- | lib/PublicInbox/xap_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index 18665567..c1ab66f3 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -714,7 +714,7 @@ static void stderr_restore(FILE *tmp_err) stderr = orig_err; return; #endif - ERR_CLOSE(stderr, EXIT_FAILURE); + ERR_FLUSH(stderr); while (dup2(orig_err_fd, STDERR_FILENO) < 0) { if (errno != EINTR) err(EXIT_FAILURE, "dup2(%d => 2)", orig_err_fd); |