journal-gatewayd: fix tmpfile logic
authorDaniel Mack <daniel@zonque.org>
Tue, 7 Jul 2015 21:21:03 +0000 (17:21 -0400)
committerDaniel Mack <daniel@zonque.org>
Tue, 7 Jul 2015 21:21:27 +0000 (17:21 -0400)
commit9e19c04f3a4e03e37dc89b63c1ae9b0a7c611810
tree76d545cba5c18cbbed2333b0154201a7fb819b5b
parent9a50ce20ef60263a6c88c29470ce761fcc424f2d
journal-gatewayd: fix tmpfile logic

"rw" is not a valid mode string for f*open(). This got broken in
cc02a7b33049 ("journal-gatewayd: factor out opening of temp
file").
src/journal-remote/journal-gatewayd.c