# HG changeset patch # User tomkiewicz@cpw.pidgin.im # Date 1318328280 0 # Node ID f877a2315d7e020dadca051cd2dabd0e8f448a6c # Parent 03a55a2997d15c5e821c3f8b843452d441c0541e Gadu-Gadu: use correct libgadu api functions to change password diff -r 03a55a2997d1 -r f877a2315d7e libpurple/protocols/gg/gg.c --- a/libpurple/protocols/gg/gg.c Mon Oct 10 23:39:33 2011 +0000 +++ b/libpurple/protocols/gg/gg.c Tue Oct 11 10:18:00 2011 +0000 @@ -635,7 +635,7 @@ purple_input_remove(req->inpa); - if (gg_pubdir_watch_fd(req->http_req) == -1 || + if (gg_change_passwd_watch_fd(req->http_req) == -1 || req->http_req->state == GG_STATE_ERROR) goto exit_error; @@ -660,7 +660,7 @@ _("Unable to change password. Error occurred.\n"), NULL); exit_cleanup: - gg_pubdir_free(req->http_req); + gg_change_passwd_free(req->http_req); g_free(req->new_password); g_free(req); }