got-fetch-http: be pedantic with the error checking
commita3844d7a3c9a386d7bc73fb0152fa714533a7e91
authorOmar Polo <op@omarpolo.com>
Tue, 14 May 2024 19:24:23 +0000 (14 19:24 +0000)
committerOmar Polo <op@omarpolo.com>
Tue, 14 May 2024 19:24:23 +0000 (14 19:24 +0000)
tree757e7df61a6f9c6c75512bf0466820f5da2d22f3
parenta46b549764762c6d1ef465471d38ed2d5e152543
got-fetch-http: be pedantic with the error checking

these functions are expected to return -1 on failure, be strict
about it.
libexec/got-fetch-http/got-fetch-http.c