Bug in the Mollom for Java library

FYI, both of the get*Captcha methods in the XmlrpcMollom class have a bug. The sessionId is being assigned the url value and the url is never being set.

Lines (in XmlrpcMollom.getImageChaptcha and XmlrpcMollom.getAudioCaptcha) currently read:

result.sessionId = captcha.get("session_id");
result.sessionId = captcha.get("url");

but should read:

result.sessionId = captcha.get("session_id");
result.url = captcha.get("url");

Emily

Thanks for the bug report,

Thanks for the bug report, we'll put an updated version of the client on the website soon.