blob: 2bb8f891d41f31eee839401a7f2f5ae07dc25edb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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){
|