Diff options
authorJason A. Donenfeld <Jason@zx2c4.com>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
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 'html.c')
-rw-r--r--html.c5
1 file changed, 3 insertions, 2 deletions