ports/ftp/downloader/files/patch-main-cookie.cc
Marcus Alves Grando be8c1fe942 Update to 2.5.5
PR:		ports/86266
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Approved by:	pav (mentor)
2005-09-17 20:34:23 +00:00

11 lines
322 B
C++

--- main/cookie.cc.orig Tue Sep 13 19:59:44 2005
+++ main/cookie.cc Fri Sep 16 23:10:02 2005
@@ -109,7 +109,7 @@
};
void tCookie::set_time(const std::string &what){
- time_of_life=atoll(what.c_str());
+ time_of_life=strtoll(what.c_str(), (char **)NULL, 10);
};
void tCookie::init(char *a,char *b,char *c,char *d){