1
0
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:
Karl Heyes 2004-11-17 14:12:39 +00:00
parent 241dd76291
commit 14f88b3267

View File

@ -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;
}
}