mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
pass the fserve_t not the client_t
svn path=/icecast/trunk/icecast/; revision=8212
This commit is contained in:
parent
241dd76291
commit
14f88b3267
@ -460,7 +460,7 @@ int fserve_client_create(client_t *httpclient, char *path)
|
||||
bytes = sock_write(httpclient->con->sock,
|
||||
"HTTP/1.0 416 Request Range Not Satisfiable\r\n\r\n");
|
||||
if(bytes > 0) httpclient->con->sent_bytes = bytes;
|
||||
fserve_client_destroy(httpclient);
|
||||
fserve_client_destroy(client);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -471,7 +471,7 @@ int fserve_client_create(client_t *httpclient, char *path)
|
||||
bytes = sock_write(httpclient->con->sock,
|
||||
"HTTP/1.0 416 Request Range Not Satisfiable\r\n\r\n");
|
||||
if(bytes > 0) httpclient->con->sent_bytes = bytes;
|
||||
fserve_client_destroy(httpclient);
|
||||
fserve_client_destroy(client);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user