mirror of https://github.com/BOINC/boinc.git
MGR: Convert Google Chrome browser time to UNIX time
svn path=/trunk/boinc/; revision=23635
This commit is contained in:
parent
86205059cd
commit
4526ae487a
|
@ -3275,3 +3275,9 @@ David 3 Jun 2011
|
|||
|
||||
sched/
|
||||
sched_version.cpp
|
||||
|
||||
Charlie 3 Jun 2011
|
||||
- MGR: Convert Google Chrome browser time (microseconds since
|
||||
January 1, 1601) to UNIX time (seconds since January 1, 1970)
|
||||
clientgui/
|
||||
browser.cpp
|
||||
|
|
|
@ -769,10 +769,18 @@ static int find_site_cookie_chrome(
|
|||
&expires
|
||||
);
|
||||
sscanf( argv[4],
|
||||
#ifdef _WIN32
|
||||
"%I64d",
|
||||
#else
|
||||
"%ld",
|
||||
#endif
|
||||
&httponly
|
||||
);
|
||||
|
||||
// Convert Google Chrome time (microseconds since January 1, 1601)
|
||||
// to UNIX time (seconds since January 1, 1970)
|
||||
expires = (expires / 1000000) - 11644473600LL;
|
||||
|
||||
// is this a real cookie?
|
||||
// temporary cookie? these cookies do not trickle back up
|
||||
// to the jscript interface, so ignore them.
|
||||
|
|
Loading…
Reference in New Issue