Commit 043a2deb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

https: fix formatting of current time

parent 61027570
...@@ -597,7 +597,8 @@ static int vlc_http_msg_add_time(struct vlc_http_msg *m, const char *hname, ...@@ -597,7 +597,8 @@ static int vlc_http_msg_add_time(struct vlc_http_msg *m, const char *hname,
return vlc_http_msg_add_header(m, hname, return vlc_http_msg_add_header(m, hname,
"%s, %02d %s %04d %02d:%02d:%02d GMT", "%s, %02d %s %04d %02d:%02d:%02d GMT",
vlc_http_days[tm->tm_wday], tm->tm_mday, vlc_http_days[tm->tm_wday], tm->tm_mday,
vlc_http_months[tm->tm_mon], tm->tm_year, vlc_http_months[tm->tm_mon],
1900 + tm->tm_year,
tm->tm_hour, tm->tm_min, tm->tm_sec); tm->tm_hour, tm->tm_min, tm->tm_sec);
} }
......
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