[Pidgin] #3550: PurpleLog::time is wrong

Pidgin trac at pidgin.im
Sun Oct 14 17:07:21 EDT 2007


#3550: PurpleLog::time is wrong
---------------------------+------------------------------------------------
  Reporter:  xpertbg       |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.2.1
Resolution:                |    Keywords:       
   Pending:  1             |  
---------------------------+------------------------------------------------
Changes (by xpertbg):

  * pending:  1 => 0

Comment:

 localtime_r seem to fix the problem with the changed current time.
 Actually I do not need current time. I just use it to find history
 messages from the last few hours. I use:
 {{{
 time_t last;
 time(&last);
 last -= 3600 * hours;
 }}}
 and then compare
 {{{
 ((PurpleLog *)logs_tmp->data)->time > last
 }}}
 which I think is not the problem

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3550#comment:6>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list