From d7a30dc0cf2654b31caf33fd5c114d76b55d8dd5 Mon Sep 17 00:00:00 2001 From: oddsock Date: Mon, 15 Nov 2004 15:55:43 +0000 Subject: [PATCH] darn ansi C..... svn path=/icecast/trunk/icecast/; revision=8202 --- src/fserve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fserve.c b/src/fserve.c index 80720283..a27cb894 100644 --- a/src/fserve.c +++ b/src/fserve.c @@ -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;