mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
PR: ports/86266 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: pav (mentor)
11 lines
322 B
C++
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){
|