Stop saying "DEBUG: Chunked!" when encountering chunked http transfers

(upstream git commit 679a0e238d78864c4340cedc3615aa234ef3e440)
This commit is contained in:
dcoppa 2012-03-26 08:09:01 +00:00
parent 014ac242d5
commit 9b0b671915
2 changed files with 19 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2012/03/14 11:21:33 dcoppa Exp $
# $OpenBSD: Makefile,v 1.17 2012/03/26 08:09:01 dcoppa Exp $
COMMENT= console based player for last.fm radio streams
DISTNAME= shell-fm-0.20120308
REVISION= 0
CATEGORIES= audio
HOMEPAGE= http://nex.scrapping.cc/shell-fm/

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-source_http_c,v 1.1 2012/03/26 08:09:01 dcoppa Exp $
Stop saying "DEBUG: Chunked!" when encountering chunked http transfers
(upstream git commit 679a0e238d78864c4340cedc3615aa234ef3e440)
--- source/http.c.orig Mon Mar 26 09:52:55 2012
+++ source/http.c Mon Mar 26 09:53:10 2012
@@ -157,9 +157,6 @@ char ** fetch(const char * url, FILE ** handle, const
return NULL;
}
- if(chunked)
- puts("DEBUG: Chunked!");
-
while(!feof(fd)) {
line = NULL;
size = 0;