changeset 32738:f877a2315d7e

Gadu-Gadu: use correct libgadu api functions to change password
author tomkiewicz@cpw.pidgin.im
date Tue, 11 Oct 2011 10:18:00 +0000
parents 03a55a2997d1
children 2b3b3ffc9d28
files libpurple/protocols/gg/gg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }