[Pidgin] #4515: xmlnode_to_formatted_str returns incorrect length

Pidgin trac at pidgin.im
Sat Dec 29 03:36:16 EST 2007


#4515: xmlnode_to_formatted_str returns incorrect length
--------------------------------------+-------------------------------------
 Reporter:  QuLogic                   |       Owner:       
     Type:  patch                     |      Status:  new  
 Priority:  minor                     |   Milestone:       
Component:  libpurple                 |     Version:  2.3.1
 Keywords:  xmlnode,length,formatted  |     Pending:  0    
--------------------------------------+-------------------------------------
 So `xmlnode_to_formatted_str` calls `xmlnode_to_str_helper`. Then it
 prepends the XML declaration, but doesn't update the returned length when
 it does this.

 Attached patch fixes things up.

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


More information about the Tracker mailing list