You might also need the attached patch to HtCookie...
Lachlan
On Thu, 18 Sep 2003 00:11, Lachlan Andrew wrote:
> Greetings Jesse,
>
> Clutching at straws here... What happens if you comment out line
> 156 of .../htlib/HtDateTime.h?
>
> Cheers,
> Lachlan
>
> On Tue, 16 Sep 2003 21:34, Jesse op den Brouw wrote:
> > This is still the problem (see add-on). What to choose: the int,
> > the int & or the const HtDateTime &
> > Hints please
--
[EMAIL PROTECTED]
ht://Dig developer DownUnder (http://www.htdig.org)
*** ../htdig-cvs/htnet/HtCookie.cc Wed Sep 17 23:03:29 2003
--- htnet/HtCookie.cc Thu Sep 18 00:15:05 2003
***************
*** 241,247 ****
break;
case COOKIES_FILE_EXPIRES:
if ((expires_value = atoi(token) > 0)) // Sets the expires value only if > 0
! expires = new HtDateTime(atoi(token));
break;
case COOKIES_FILE_NAME:
SetName(token);
--- 241,250 ----
break;
case COOKIES_FILE_EXPIRES:
if ((expires_value = atoi(token) > 0)) // Sets the expires value only if > 0
! {
! time_t tmp = atoi(token);
! expires = new HtDateTime(tmp);
! }
break;
case COOKIES_FILE_NAME:
SetName(token);