aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/mod-submit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx
index a4ee158..7666b55 100644
--- a/mod/mod-submit.cxx
+++ b/mod/mod-submit.cxx
@@ -358,7 +358,7 @@ handle (request& rq, response& rs)
sha256 sha;
char buf[8192];
- ofdstream os (af, ios::binary);
+ ofdstream os (af, fdopen_mode::binary);
while (!eof (is))
{