diff options
author | Julian Andres Klode <jak@debian.org> | 2020-02-26 18:42:13 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2020-02-26 18:42:13 +0000 |
commit | c38e0047d95305e5984e822f670055cde6aa5f6a (patch) | |
tree | 71eb37d2df34eebc91cffbb46a879bd21a12b8e7 /apt-pkg/contrib/strutl.cc | |
parent | a096b580694cb36f29cdbce8f1db797a08e36709 (diff) | |
parent | 62ca61ff4ac794f9c42335d8286343149d4313d1 (diff) |
Merge branch 'pu/misc' into 'master'
Pu/misc
See merge request apt-team/apt!107
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index 70befdc48..972472986 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1044,10 +1044,6 @@ static time_t timegm(struct tm *t) we allow them here to to be able to reuse the method. Either way, a date must be in UTC or parsing will fail. Previous implementations of this method used to ignore the timezone and assume always UTC. */ -bool RFC1123StrToTime(const char* const str,time_t &time) -{ - return RFC1123StrToTime(std::string(str), time); -} bool RFC1123StrToTime(std::string const &str,time_t &time) { unsigned short day = 0; |