diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-20 20:44:20 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-20 21:08:32 +0100 |
commit | 6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a (patch) | |
tree | e160033edb9a9077b077c7cf2d6d65f8856d6643 /cgit.c | |
parent | 40e1d9b6177558bf4069c09ca6d8e3a682baa988 (diff) | |
download | cgit-6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a.tar.gz cgit-6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a.tar.xz |
html: check return value of write
This squelches a gcc warning. It's also correct that we check to see if
there are any partial or failed writes. For now, we just print a warning
to stderr. In the future, perhaps it will prove wise to exit(1) on
partial writes.
Diffstat (limited to 'cgit.c')
0 files changed, 0 insertions, 0 deletions