/pidgin/main: fcafc93ddd4d: oscar: Set password_xored as gchar t...
Youness Alaoui
kakaroto at kakaroto.homelinux.net
Thu Jun 16 16:23:51 EDT 2016
Changeset: fcafc93ddd4d8eb921d44ea26dd60aa2ab9996e7
Author: Youness Alaoui <kakaroto at kakaroto.homelinux.net>
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;
More information about the Commits
mailing list