Changeset d50e22f
- Timestamp:
- 2010-06-08T22:22:16Z (15 years ago)
- Branches:
- master
- Children:
- d7db346
- Parents:
- f1cea66 (diff), 04a927c (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. - Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
rf1cea66 rd50e22f 300 300 g_hash_table_destroy( jd->node_cache ); 301 301 302 jabber_buddy_remove_all( ic ); 303 302 304 xt_free( jd->xt ); 303 305 -
protocols/jabber/jabber.h
rf1cea66 rd50e22f 292 292 int jabber_buddy_remove( struct im_connection *ic, char *full_jid ); 293 293 int jabber_buddy_remove_bare( struct im_connection *ic, char *bare_jid ); 294 void jabber_buddy_remove_all( struct im_connection *ic ); 294 295 time_t jabber_get_timestamp( struct xt_node *xt ); 295 296 struct jabber_error *jabber_error_parse( struct xt_node *node, char *xmlns ); -
protocols/jabber/jabber_util.c
rf1cea66 rd50e22f 669 669 } 670 670 671 static gboolean jabber_buddy_remove_all_cb( gpointer key, gpointer value, gpointer data ) 672 { 673 struct jabber_buddy *bud, *next; 674 675 bud = value; 676 while( bud ) 677 { 678 next = bud->next; 679 g_free( bud->ext_jid ); 680 g_free( bud->full_jid ); 681 g_free( bud->away_message ); 682 g_free( bud ); 683 bud = next; 684 } 685 686 return TRUE; 687 } 688 689 void jabber_buddy_remove_all( struct im_connection *ic ) 690 { 691 struct jabber_data *jd = ic->proto_data; 692 693 g_hash_table_foreach_remove( jd->buddies, jabber_buddy_remove_all_cb, NULL ); 694 g_hash_table_destroy( jd->buddies ); 695 } 696 671 697 time_t jabber_get_timestamp( struct xt_node *xt ) 672 698 { -
protocols/twitter/twitter.c
rf1cea66 rd50e22f 236 236 { 237 237 oauth_info_free( td->oauth_info ); 238 g_free( td->url_host ); 239 g_free( td->url_path ); 238 240 g_free( td->pass ); 239 241 g_free( td ); -
storage_xml.c
rf1cea66 rd50e22f 404 404 return STORAGE_ALREADY_EXISTS; 405 405 406 strcat( path, " ~" );407 if( ( fd = open( path, O_WRONLY | O_CREAT | O_TRUNC, 0600) ) < 0 )406 strcat( path, ".XXXXXX" ); 407 if( ( fd = mkstemp( path ) ) < 0 ) 408 408 { 409 409 irc_usermsg( irc, "Error while opening configuration file." ); … … 501 501 close( fd ); 502 502 503 path2 = g_strndup( path, strlen( path ) - 1);503 path2 = g_strndup( path, strlen( path ) - 7 ); 504 504 if( rename( path, path2 ) != 0 ) 505 505 {
Note: See TracChangeset
for help on using the changeset viewer.