diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 00:53:44 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-09 00:53:44 +0200 |
commit | 96cc64a521957d63704de72ed95f1c839698c53c (patch) | |
tree | b8b0366a3f1c970947e820cd244513cf3edd5497 /methods/http.cc | |
parent | 550891457ff63db01b57d9057a5fe447a165e10c (diff) |
move the users away from the deprecated StrToTime() method
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index d43dd14c8..5fdc62696 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -631,7 +631,7 @@ bool ServerState::HeaderLine(string Line) if (stringcasecmp(Tag,"Last-Modified:") == 0) { - if (StrToTime(Val,Date) == false) + if (RFC1123StrToTime(Val.c_str(), Date) == false) return _error->Error(_("Unknown date format")); return true; } |