diff options
Diffstat (limited to 'http.c')
| -rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ static void ctx_free(struct ctx *const c) { struct put *const p = &c->u.put; - if (p->f >= 0 && fclose(p->f)) + if (p->f && fclose(p->f)) fprintf(stderr, "%s: fclose(3) p->f: %s\n", __func__, strerror(errno)); |
