- Timestamp:
- 2007-11-14T23:42:07Z (17 years ago)
- Branches:
- master
- Children:
- 50e1776
- Parents:
- a6df0b5 (diff), 1bf1ae6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
ra6df0b5 rebb95b6 470 470 } 471 471 472 static xt_status jabber_pkt_misc( struct xt_node *node, gpointer data )473 {474 printf( "Received unknown packet:\n" );475 xt_print( node );476 477 return XT_HANDLED;478 }479 480 472 static xt_status jabber_xmlconsole( struct xt_node *node, gpointer data ) 481 473 { … … 509 501 { "success", "stream:stream", sasl_pkt_result }, 510 502 { "failure", "stream:stream", sasl_pkt_result }, 511 { NULL, "stream:stream", jabber_pkt_misc },512 503 { NULL, NULL, NULL } 513 504 }; -
protocols/jabber/presence.c
ra6df0b5 rebb95b6 170 170 /* What else to do with it? */ 171 171 } 172 else173 {174 printf( "Received PRES from %s:\n", from );175 xt_print( node );176 }177 172 178 173 return XT_HANDLED; -
protocols/jabber/xmltree.c
ra6df0b5 rebb95b6 305 305 } 306 306 307 #ifdef DEBUG 307 308 void xt_print( struct xt_node *node ) 308 309 { … … 355 356 printf( "</%s>\n", node->name ); 356 357 } 358 #endif 357 359 358 360 struct xt_node *xt_dup( struct xt_node *node ) -
protocols/nogaim.c
ra6df0b5 rebb95b6 36 36 #include <ctype.h> 37 37 38 static int remove_chat_buddy_silent( struct groupchat *b, c har *handle );38 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle ); 39 39 40 40 GSList *connections; … … 578 578 /* Remove him/her from the groupchats to prevent PART messages after he/she QUIT already */ 579 579 for( c = ic->groupchats; c; c = c->next ) 580 remove_chat_buddy_silent( c, (char*)handle );580 remove_chat_buddy_silent( c, handle ); 581 581 } 582 582 … … 849 849 } 850 850 851 static int remove_chat_buddy_silent( struct groupchat *b, c har *handle )851 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle ) 852 852 { 853 853 GList *i; -
protocols/oscar/oscar.c
ra6df0b5 rebb95b6 1066 1066 g_snprintf(tmp, BUF_LONG, "%s", args->msg); 1067 1067 } 1068 } else 1068 } else if (args->mpmsg.numparts == 0) { 1069 1069 g_snprintf(tmp, BUF_LONG, "%s", args->msg); 1070 } else { 1071 int i; 1072 1073 *tmp = 0; 1074 for (i = 0; i < args->mpmsg.numparts; i ++) { 1075 g_strlcat(tmp, (char*) args->mpmsg.parts[i].data, BUF_LONG); 1076 g_strlcat(tmp, "\n", BUF_LONG); 1077 } 1078 } 1070 1079 1071 1080 strip_linefeed(tmp);
Note: See TracChangeset
for help on using the changeset viewer.