diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-02 21:32:59 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-02 21:32:59 +0000 |
commit | 5f8d6d69006f33a60dde4d950c19488915fa85dc (patch) | |
tree | 325b33f987b3f01ab4f5fb5aaac7029c5b581cf4 | |
parent | b91af54d2a2b83648a844d2036254dab26c6a33c (diff) | |
download | mpd-5f8d6d69006f33a60dde4d950c19488915fa85dc.tar.gz mpd-5f8d6d69006f33a60dde4d950c19488915fa85dc.tar.xz mpd-5f8d6d69006f33a60dde4d950c19488915fa85dc.zip |
Removing some commented code that wrote HTTP streams to stdout.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6461 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_http.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c index 7909ed89c..9235157d9 100644 --- a/src/inputStream_http.c +++ b/src/inputStream_http.c @@ -666,7 +666,6 @@ static int getHTTPHello(InputStream * inStream) needle += 4; /* 4 == strlen("\r\n\r\n") */ data->buflen -= (needle - data->buffer); - /*fwrite(data->buffer, 1, data->buflen, stdout); */ memmove(data->buffer, needle, data->buflen); data->connState = HTTP_CONN_STATE_OPEN; @@ -816,10 +815,8 @@ size_t inputStream_httpRead(InputStream * inStream, void *ptr, size_t size, tosend = (tosend / size) * size; memcpy(ptr, data->buffer, tosend); - /*fwrite(ptr,1,readed,stdout); */ data->buflen -= tosend; data->icyOffset += tosend; - /*fwrite(data->buffer,1,readed,stdout); */ memmove(data->buffer, data->buffer + tosend, data->buflen); inStream->offset += tosend; @@ -901,7 +898,6 @@ int inputStream_httpBuffer(InputStream * inStream) data->connState = HTTP_CONN_STATE_CLOSED; readed = 0; } - /*fwrite(data->buffer+data->buflen,1,readed,stdout); */ data->buflen += readed; } |