From 26fefd8da32cd678c493e2f485b809a006c2e590 Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Thu, 9 Nov 2023 16:28:40 +0200 Subject: [PATCH] fix unterminated guppy:// MIME type --- guppy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/guppy.c b/guppy.c index 6337272..4475d90 100644 --- a/guppy.c +++ b/guppy.c @@ -130,7 +130,6 @@ static int do_guppy_download(URL *url, GuppySocket *s, char **mime, int ask) { chunk->seq = strtol(chunk->buffer, &end, 10); if (chunk->seq < 6 || chunk->seq > INT_MAX || end == NULL || (*end != ' ' && (*end != '\r' || *(end + 1) != '\n'))) continue; - *crlf = '\r'; chunk->skip = crlf - chunk->buffer + 2; /* ack the chunk */