[Pidgin] #2859: Remove four calls to g_assert() in libpurple/certificate.c

Pidgin trac at pidgin.im
Thu Aug 30 03:49:00 EDT 2007


#2859: Remove four calls to g_assert() in libpurple/certificate.c
--------------------------+-------------------------------------------------
 Reporter:  MarkDoliner   |       Owner:  wehlhard
     Type:  defect        |      Status:  new     
 Priority:  minor         |   Milestone:          
Component:  pidgin (gtk)  |     Version:  2.1.1   
 Keywords:                |     Pending:  0       
--------------------------+-------------------------------------------------
 There are four calls to g_assert() in libpurple/certificate.c that should
 be removed.  g_assert() terminates the application and it should only be
 used when absolutely necessary.  Instead, you can use
 g_return_val_if_fail(), or g_critical(), or gaim_debug_error().

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2859>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list