Commit 14f88b32 authored by Karl Heyes's avatar Karl Heyes

pass the fserve_t not the client_t

svn path=/icecast/trunk/icecast/; revision=8212
parent 241dd762
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment