[Pidgin] #13470: pidgin_io_invoke() giving undefined value for enum type PurpleInputCondition
Pidgin
trac at pidgin.im
Tue Mar 8 12:29:09 EST 2011
#13470: pidgin_io_invoke() giving undefined value for enum type
PurpleInputCondition
-------------------+--------------------------------------------------------
Reporter: oGGy | Type: enhancement
Status: new | Component: pidgin (gtk)
Version: 2.7.10 | Keywords:
-------------------+--------------------------------------------------------
In case that the GIOChannel gives G_IO_HUP or G_IO_ERR as condition Pidgin
will invoke the libpurple input callback with value 3 (read|write) for
PurpleInputCondition which is undefined and thus an invalid value for an
enumeration type in my eyes.
I think there should be either added an error condition or it should be
checked for what was actually requested. My code checked for that value
and ran into an infinite loop as I have ignored condition!=read calls.
--
Ticket URL: <http://developer.pidgin.im/ticket/13470>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list