Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2015-02-09 13:02:58 +0300
committerEion Robb <eion@robbmob.com>2015-02-09 13:02:58 +0300
commit04c56832642b9b448928be99e0ba64056603d2a9 (patch)
treeb0dcbc7a49a59cc23879c7d3e32898539f1995f0 /skypeweb/skypeweb_login.c
parentd545aaefa83c0b28ea4ebc5fc5b7964e5dc44130 (diff)
SkypeWeb : Fix for account being disabled when network connection is unavailable
Diffstat (limited to 'skypeweb/skypeweb_login.c')
-rw-r--r--skypeweb/skypeweb_login.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/skypeweb/skypeweb_login.c b/skypeweb/skypeweb_login.c
index 03a721f..b1586ea 100644
--- a/skypeweb/skypeweb_login.c
+++ b/skypeweb/skypeweb_login.c
@@ -62,6 +62,11 @@ skypeweb_login_got_pie(PurpleUtilFetchUrlData *url_data, gpointer user_data, con
struct timezone tz;
guint tzhours, tzminutes;
+ if (error_message && *error_message) {
+ purple_connection_error(sa->pc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, error_message);
+ return;
+ }
+
gettimeofday(NULL, &tz);
tzminutes = tz.tz_minuteswest;
if (tzminutes < 0) tzminutes = -tzminutes;