/pidgin/main: 05fd9d875913: oscar: Set password_xored as gchar t...

Youness Alaoui kakaroto at kakaroto.homelinux.net
Fri Jun 17 19:11:41 EDT 2016


Changeset: 05fd9d87591300465cad5cd560f62e2f25dfa467
Author:	 Youness Alaoui <kakaroto at kakaroto.homelinux.net>
Date:	 2016-06-14 18:08 -0400
Branch:	 oscar_auth
URL: https://hg.pidgin.im/pidgin/main/rev/05fd9d875913

Description:

oscar: Set password_xored as gchar to remove a warning

g_string_append_len expects a gchar, not a guint8

diffstat:

 libpurple/protocols/oscar/kerberos.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/libpurple/protocols/oscar/kerberos.c b/libpurple/protocols/oscar/kerberos.c
--- a/libpurple/protocols/oscar/kerberos.c
+++ b/libpurple/protocols/oscar/kerberos.c
@@ -119,7 +119,7 @@ static const char *get_client_key(OscarD
 }
 
 static void
-aim_encode_password(const char *password, guint8 *encoded)
+aim_encode_password(const char *password, gchar *encoded)
 {
 	guint8 encoding_table[] = {
 		0x76, 0x91, 0xc5, 0xe7,
@@ -349,7 +349,7 @@ void send_kerberos_login(OscarData *od, 
 	PurpleHttpRequest *req;
 	gchar *url;
 	const gchar *password;
-	guint8 password_xored[MAXAIMPASSLEN];
+	gchar password_xored[MAXAIMPASSLEN];
 	const gchar *client_key;
 	gchar *imapp_key;
 	GString *body;



More information about the Commits mailing list