request.c: improve error reporting
authorReuben Thomas <rrt@sc3d.org>
Fri, 26 Jan 2018 21:47:22 +0000 (21:47 +0000)
committerReuben Thomas <rrt@sc3d.org>
Sun, 28 Jan 2018 22:41:22 +0000 (22:41 +0000)
commit5ace77fb6493570db602ba0a45ffb08db4615f17
treede8a620b92c8152edb126deec406928628ccc9ce
parent479ad8881d388fe6ffc27e5f7dfeb890cde05162
request.c: improve error reporting

Make guarantee_nul_terminator report success/failure, and use this value in
its callers.

Add an extra FIXME to scan_options to explain what needs doing there to
report errors.
src/request.c