Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/buddy.c @ 24312:f4cb55854e87
Make jabber_resource_have_capability polute the log a little less...
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Thu, 06 Nov 2008 22:35:03 +0000 |
parents | 1de1494a13e5 |
children | f10aba5592c6 051c29d275de 6d6e10476c52 e9b7e41dc816 |
comparison
equal
deleted
inserted
replaced
24311:9ea84135db24 | 24312:f4cb55854e87 |
---|---|
2508 "Unable to find caps: nothing known about buddy\n"); | 2508 "Unable to find caps: nothing known about buddy\n"); |
2509 return FALSE; | 2509 return FALSE; |
2510 } | 2510 } |
2511 | 2511 |
2512 for (iter = jbr->caps->features ; iter ; iter = g_list_next(iter)) { | 2512 for (iter = jbr->caps->features ; iter ; iter = g_list_next(iter)) { |
2513 purple_debug_info("jabber", "Found cap: %s\n", (char *)iter->data); | |
2514 if (strcmp(iter->data, cap) == 0) { | 2513 if (strcmp(iter->data, cap) == 0) { |
2514 purple_debug_info("jabber", "Found cap: %s\n", (char *)iter->data); | |
2515 return TRUE; | 2515 return TRUE; |
2516 } | 2516 } |
2517 } | 2517 } |
2518 | 2518 |
2519 purple_debug_info("jabber", "Cap %s not found\n", cap); | |
2519 return FALSE; | 2520 return FALSE; |
2520 } | 2521 } |
2521 | 2522 |
2522 gboolean | 2523 gboolean |
2523 jabber_buddy_has_capability(const JabberBuddy *jb, const gchar *cap) | 2524 jabber_buddy_has_capability(const JabberBuddy *jb, const gchar *cap) |