/pidgin/main: fcafc93ddd4d: oscar: Set password_xored as gchar t...

Youness Alaoui <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: fcafc93ddd4d8eb921d44ea26dd60aa2ab9996e7
Author:	 Youness Alaoui <[email protected]>
Date:	 2016-06-14 18:08 -0400
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/fcafc93ddd4d

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,
@@ -346,7 +346,7 @@ void send_kerberos_login(OscarData *od, 
 	GString *request;
 	gchar *url;
 	const gchar *password;
-	guint8 password_xored[MAXAIMPASSLEN];
+	gchar password_xored[MAXAIMPASSLEN];
 	const gchar *client_key;
 	gchar *imapp_key;
 	GString *body;

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.