[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python plugin update [get_prefs bug?]
> Ok, I've commited this version to cvs.
Thanks!
> I think this could be a bug:
>
> type = xchat_get_prefs(ph, name, (const char**)&info, (int*)info);
>
> It looks like "info" is passed uninitialized (4th arg). It should be
> called something like:
[...]
Ouch! You're right! This should be
xchat_get_prefs(ph, name, (const char**)&info, (int*)&info);
and
PyInt_FromLong((int)info);
> P.S If you have a SF.net account, I can give you write access to the cvs.
Thanks! My account there is "niemeyer". I'll fix this problem as soon as
you register me.
--
Gustavo Niemeyer
http://niemeyer.net
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/