commit 614f83fb56ef734ea7e08f9bd25951a402ef90cf
parent cb57c5238e3b1f40b999aab812e85a2d2d9097f9
Author: finwo <finwo@pm.me>
Date: Tue, 8 Aug 2023 00:17:13 +0200
Use asprintf, not non-existing aprintf during sprint_request
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/http-parser.c b/src/http-parser.c
@@ -409,7 +409,7 @@ struct buf * http_parser_sprint_request(struct http_parser_message *request) {
tmppath = path;
path = NULL;
isPathAllocced = true;
- aprintf(&path, "/%s", tmppath);
+ asprintf(&path, "/%s", tmppath);
}
// Status