diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-07-20 18:53:56 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-07-20 18:53:56 +0000 |
commit | 00e67be7c98cedf3ea60c10d4a527f30cdfa473c (patch) | |
tree | 969f972985004c49530b1f4ca6f9782cb3b2acac /src/inputStream_http.c | |
parent | 29a25b9933b32800f58dd73d5d1fc21993071c92 (diff) | |
download | mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.gz mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.xz mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.zip |
Add mpd-indent.sh
Add a few new options for indent to try to make
things a bit cleaner
git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c index f3f284d5e..b4b6d04f2 100644 --- a/src/inputStream_http.c +++ b/src/inputStream_http.c @@ -434,7 +434,7 @@ static int initHTTPConnection(InputStream * inStream) } freeaddrinfo(ans); - return -1; /* failed */ + return -1; /* failed */ } static int finishHTTPInit(InputStream * inStream) @@ -481,7 +481,7 @@ static int finishHTTPInit(InputStream * inStream) /*"Connection: close\r\n" */ "User-Agent: %s/%s\r\n" /*"Range: bytes=%ld-\r\n" */ - "%s" /* authorization */ + "%s" /* authorization */ "Icy-Metadata:1\r\n" "\r\n", data->path, data->host, PACKAGE_NAME, PACKAGE_VERSION, /*inStream->offset, */ @@ -672,7 +672,7 @@ static int getHTTPHello(InputStream * inStream) if (inStream->size <= 0) inStream->seekable = 0; - needle += 4; /* 4 == strlen("\r\n\r\n") */ + 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); |