diff libpurple/protocols/oscar/clientlogin.c @ 30893:d9e21370fca0

Continuing Daniel's quest for safety in Pidginland (see b01c2771dfe0c2c521afb1699a3a9c509c12567d).
author ivan.komarov@soc.pidgin.im
date Mon, 01 Nov 2010 18:57:39 +0000
parents 4297feb30ad1
children 4f0d6ee5ffee
line wrap: on
line diff
--- a/libpurple/protocols/oscar/clientlogin.c	Mon Nov 01 07:12:08 2010 +0000
+++ b/libpurple/protocols/oscar/clientlogin.c	Mon Nov 01 18:57:39 2010 +0000
@@ -65,12 +65,12 @@
 
 static const gchar *get_client_login_url(OscarData *od)
 {
-	return client_login_urls[od->icq];
+	return client_login_urls[od->icq ? 1 : 0];
 }
 
 static const gchar *get_start_oscar_session_url(OscarData *od)
 {
-	return start_oscar_session_urls[od->icq];
+	return start_oscar_session_urls[od->icq ? 1 : 0];
 }
 
 /*