vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Dec 13 20:17:47 2015 +0200| [043a2deb40260f51049a5c87e824a5a6d83226bc] | committer: Rémi Denis-Courmont
https: fix formatting of current time > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=043a2deb40260f51049a5c87e824a5a6d83226bc --- modules/access/http/message.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/access/http/message.c b/modules/access/http/message.c index 86bf83c..5f8732f 100644 --- a/modules/access/http/message.c +++ b/modules/access/http/message.c @@ -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, "%s, %02d %s %04d %02d:%02d:%02d GMT", 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); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
