Commit d7a30dc0 authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

darn ansi C.....

svn path=/icecast/trunk/icecast/; revision=8202
parent acbef39c
......@@ -431,12 +431,12 @@ int fserve_client_create(client_t *httpclient, char *path)
char currenttime[50];
time_t now;
int strflen;
time(&now);
struct tm result;
int64_t endpos = rangenumber+new_content_len-1;
if (endpos < 0) {
endpos = 0;
}
time(&now);
strflen = strftime(currenttime, 50, "%a, %d-%b-%Y %X GMT",
gmtime_r(&now, &result));
httpclient->respcode = 206;
......
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