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
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
935a06ef
Commit
935a06ef
authored
Apr 20, 2004
by
Michael Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix copy/paste error in sending 400 errors (reported by wayne zhao).
svn path=/icecast/trunk/icecast/; revision=6553
parent
c2b3ed71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/client.c
src/client.c
+2
-2
No files found.
src/client.c
View file @
935a06ef
...
...
@@ -74,11 +74,11 @@ void client_destroy(client_t *client)
void
client_send_400
(
client_t
*
client
,
char
*
message
)
{
int
bytes
;
bytes
=
sock_write
(
client
->
con
->
sock
,
"HTTP/1.0 40
4 File Not Found
\r\n
"
bytes
=
sock_write
(
client
->
con
->
sock
,
"HTTP/1.0 40
0 Bad Request
\r\n
"
"Content-Type: text/html
\r\n\r\n
"
"<b>%s</b>
\r\n
"
,
message
);
if
(
bytes
>
0
)
client
->
con
->
sent_bytes
=
bytes
;
client
->
respcode
=
40
4
;
client
->
respcode
=
40
0
;
client_destroy
(
client
);
}
...
...
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