Modify

#380 closed defect (fixed)

wrong usage of g_strsplit

Reported by: misc@… Owned by:
Priority: minor Milestone:
Component: BitlBee Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

When parsing the configuration, for account_storage_migrate, the function called is

conf->migrate_storage = g_strsplit( ini->value, " \t,;", -1 );

shouldn't it be g_strsplit_set ?

According to glib doc, g_strsplit will take the second argument as a whole for delimiter, I doubt this is what should be done. Here is a small patch.

Attachments (1)

bitlbee.fix380.diff (454 bytes) - added by misc@… at 2008-03-23T14:50:32Z.
use the correct function for splitting

Download all attachments as: .zip

Change History (2)

Changed at 2008-03-23T14:50:32Z by misc@…

Attachment: bitlbee.fix380.diff added

use the correct function for splitting

comment:1 Changed at 2008-03-23T15:03:38Z by wilmer

Resolution: fixed
Status: newclosed

Yeah, I think you're right, looks like I was sleeping while writing that. :-)

changeset:devel,360

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.