Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Icecast-libshout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-libshout
Commits
58ddf196
Commit
58ddf196
authored
Feb 25, 2003
by
brendan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And a couple more nits. Thanks, cpp!
svn path=/trunk/libshout/; revision=4368
parent
9f35b6ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/shout.c
src/shout.c
+2
-2
No files found.
src/shout.c
View file @
58ddf196
...
...
@@ -683,7 +683,7 @@ unsigned int shout_get_protocol(shout_t *self)
static
int
send_http_request
(
shout_t
*
self
,
char
*
username
,
char
*
password
)
{
char
*
auth
;
c
onst
c
har
*
ai
;
char
*
ai
;
if
(
!
sock_write
(
self
->
socket
,
"SOURCE %s HTTP/1.0
\r\n
"
,
self
->
mount
))
return
SHOUTERR_SOCKET
;
...
...
@@ -712,7 +712,7 @@ static int send_http_request(shout_t *self, char *username, char *password)
if (bitrate && !sock_write(self->socket, "ice-bitrate: %s\r\n", bitrate))
return SHOUTERR_SOCKET;
#else
if
(
ai
=
util_dict_urlencode
(
self
->
audio_info
,
';'
))
{
if
(
(
ai
=
util_dict_urlencode
(
self
->
audio_info
,
';'
)
))
{
if
(
!
sock_write
(
self
->
socket
,
"ice-audio-info: %s
\r\n
"
,
ai
))
{
free
(
ai
);
return
SHOUTERR_SOCKET
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment