*** empty log message ***

svn path=/trunk/boinc/; revision=12299
This commit is contained in:
Rom Walton 2007-04-03 13:55:26 +00:00
parent cd975911a1
commit ad0fb104f4
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#ifndef _WIN32
#include <string>
#include <vector>
#include <time.h>
#endif
#include "error_numbers.h"
@ -282,6 +283,9 @@ bool find_project_cookie_mozilla_generic(
// is this the right host?
if (!strstr(host, hostname.c_str())) continue;
// has the cookie expired?
if (time(0) > expires) continue;
// is this the right cookie?
if (starts_with(name, "Setup")) {
// If validation failed, null out the authenticator just in case