diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-02 20:32:21 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-02 20:32:21 +0200 |
commit | 6266fcab664c9a907b1d32a1c94ef7fd3cfb9fba (patch) | |
tree | 47476e0a288fd0b96336dc64bae15c0ad60cc21d /protocols/jabber/presence.c | |
parent | 995913b4be70be6e07b8aa7661ac639e5fc0d6e7 (diff) |
Fixed memory leak in jabber_buddy_ask() and added "handling" of type="error"
<presence/> tags.
Diffstat (limited to 'protocols/jabber/presence.c')
-rw-r--r-- | protocols/jabber/presence.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/jabber/presence.c b/protocols/jabber/presence.c index 1b8008b8..57301270 100644 --- a/protocols/jabber/presence.c +++ b/protocols/jabber/presence.c @@ -56,6 +56,10 @@ xt_status jabber_pkt_presence( struct xt_node *node, gpointer data ) If you're one of those people, this is your chance to write your first line of code in C... */ } + else if( strcmp( type, "error" ) == 0 ) + { + /* What to do with it? */ + } else { printf( "Received PRES from %s:\n", from ); |