changeset 116:dd27aeead474

fix reversed logic
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 16 Jul 2008 19:33:45 +0900
parents 7d0dd0e1dbd0
children 423dc1a670c9
files pidgin-twitter.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Wed Jul 16 19:19:10 2008 +0900
+++ b/pidgin-twitter.c	Wed Jul 16 19:33:45 2008 +0900
@@ -229,7 +229,7 @@
 
     PurpleConversation *conv = (PurpleConversation *)data;
     if(!conv)
-        return TRUE; //cease fetch
+        return FALSE; //cease fetch
 
     const char *screen_name =
         purple_prefs_get_string(OPT_SCREEN_NAME_TWITTER);
@@ -238,7 +238,7 @@
 
     if (!screen_name || !password || !screen_name[0] || !password[0]) {
         twitter_debug("screen_name or password is empty\n");
-        return FALSE;
+        return TRUE;
     }
 
     /* auth */
@@ -260,7 +260,7 @@
     g_free(basic_auth_encoded);
     g_free(request);
 
-    return FALSE;
+    return TRUE;
 }