diff mcabber/src/jabglue.c @ 41:a7c699bd09e0

[/trunk] Changeset 57 by mikael * Fix a bug when jid has uppercase characters...
author mikael
date Tue, 05 Apr 2005 12:26:54 +0000
parents d79ff2ce61c4
children b8bd163be431
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Mon Apr 04 20:59:45 2005 +0000
+++ b/mcabber/src/jabglue.c	Tue Apr 05 12:26:54 2005 +0000
@@ -604,7 +604,6 @@
           p = xmlnode_get_data(x); if (p) ns = p;
 
           if (ns) {
-            //scr_LogPrint("New status: %s (%s)", ns, from);
             if (!strcmp(ns, "away"))      ust = away;
             else if (!strcmp(ns, "dnd"))  ust = dontdisturb;
             else if (!strcmp(ns, "xa"))   ust = notavail;
@@ -613,9 +612,9 @@
         }
 
         if (type && !strcmp(type, "unavailable")) {
-          //scr_LogPrint("New status: unavailable/offline");
           ust = offline;
         }
+        //scr_LogPrint("New status: ust=%d (%s)", ust, from);
 
         bud_SetBuddyStatus(jidtodisp(from), ust);
         /*