diff libpurple/protocols/qq/qq.h @ 24070:832178d951ca

2008.09.30 - ccpaging <ccpaging(at)gmail.com> * Successfully login using 2007/2008 protocols
author SHiNE CsyFeK <csyfek@gmail.com>
date Wed, 22 Oct 2008 14:42:23 +0000
parents dc112387190f
children 1bdf7b602684
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq.h	Wed Oct 22 14:41:13 2008 +0000
+++ b/libpurple/protocols/qq/qq.h	Wed Oct 22 14:42:23 2008 +0000
@@ -41,7 +41,6 @@
 typedef struct _qq_interval qq_interval;
 typedef struct _qq_net_stat qq_net_stat;
 typedef struct _qq_add_request qq_add_request;
-typedef struct _qq_redirect_data qq_redirect_data;
 typedef struct _qq_login_data qq_login_data;
 typedef struct _qq_captcha_data qq_captcha_data;
 
@@ -68,14 +67,6 @@
 	guint8 login_key[QQ_KEY_LENGTH];
 };
 
-struct _qq_redirect_data {
-	guint16 ret;
-	guint8 b1;
-	guint32 w1;
-	guint32 w2;
-	struct in_addr ip;
-};
-
 struct _qq_add_request {
 	guint32 uid;
 	PurpleConnection *gc;
@@ -150,7 +141,8 @@
 
 	struct in_addr redirect_ip;
 	guint16 redirect_port;
-	qq_redirect_data redirect_data;
+	guint8 *redirect;
+	guint8 redirect_len;
 
 	guint check_watcher;
 	guint connect_watcher;