Changes in protocols/jabber/message.c [c4bc92a:5ec4129]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/message.c
rc4bc92a r5ec4129 71 71 if( bud ) 72 72 { 73 bud->last_ msg= time( NULL );73 bud->last_act = time( NULL ); 74 74 from = bud->ext_jid ? : bud->bare_jid; 75 75 } … … 80 80 if( type && strcmp( type, "headline" ) == 0 ) 81 81 { 82 if( ( c = xt_find_node( node->children, "subject" ) ) && c->text_len > 0 )83 g_string_append_printf( fullmsg, "Headline: %s\n", c->text);82 c = xt_find_node( node->children, "subject" ); 83 g_string_append_printf( fullmsg, "Headline: %s\n", c && c->text_len > 0 ? c->text : "" ); 84 84 85 85 /* <x xmlns="jabber:x:oob"><url>http://....</url></x> can contain a URL, it seems. */
Note: See TracChangeset
for help on using the changeset viewer.