Changes in / [85616c3:3edaed9]
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
account.c
r85616c3 r3edaed9 167 167 void account_off( irc_t *irc, account_t *a ) 168 168 { 169 account_offline( a->gc ); 169 a->gc->wants_to_die = TRUE; 170 signoff( a->gc ); 170 171 a->gc = NULL; 171 172 if( a->reconnect ) -
irc.c
r85616c3 r3edaed9 233 233 234 234 for (account = irc->accounts; account; account = account->next) { 235 if (account->gc) 236 account_offline(account->gc); 237 else if (account->reconnect) 235 if (account->gc) { 236 account->gc->wants_to_die = TRUE; 237 signoff(account->gc); 238 } else if (account->reconnect) { 238 239 cancel_auto_reconnect(account); 240 } 239 241 } 240 242 -
protocols/nogaim.c
r85616c3 r3edaed9 360 360 protocols. */ 361 361 proto_away( gc, u->away ); 362 363 if( strcmp( gc->prpl->name, "ICQ" ) == 0 )364 {365 for( u = gc->irc->users; u; u = u->next )366 if( u->gc == gc )367 break;368 369 if( u == NULL )370 serv_got_crap( gc, "\x02""***\x02"" BitlBee now supports ICQ server-side contact lists. "371 "See \x02""help import_buddies\x02"" for more information." );372 }373 362 } 374 363 … … 387 376 while( g_source_remove_by_user_data( (gpointer) a ) ); 388 377 a->reconnect = 0; 389 }390 391 void account_offline( struct gaim_connection *gc )392 {393 gc->wants_to_die = TRUE;394 signoff( gc );395 378 } 396 379 … … 959 942 960 943 return( 0 ); 961 }962 963 964 /* prefs.c */965 966 /* Necessary? */967 void build_block_list()968 {969 return;970 }971 972 void build_allow_list()973 {974 return;975 944 } 976 945 -
protocols/nogaim.h
r85616c3 r3edaed9 212 212 G_MODULE_EXPORT void serv_got_crap( struct gaim_connection *gc, char *format, ... ); 213 213 G_MODULE_EXPORT void account_online( struct gaim_connection *gc ); 214 G_MODULE_EXPORT void account_offline( struct gaim_connection *gc );215 214 G_MODULE_EXPORT void signoff( struct gaim_connection *gc ); 216 215 … … 220 219 221 220 /* list.c */ 222 G_MODULE_EXPORT int bud_list_cache_exists( struct gaim_connection *gc );223 G_MODULE_EXPORT void do_import( struct gaim_connection *gc, void *null );224 221 G_MODULE_EXPORT void add_buddy( struct gaim_connection *gc, char *group, char *handle, char *realname ); 225 222 G_MODULE_EXPORT struct buddy *find_buddy( struct gaim_connection *gc, char *handle ); 226 G_MODULE_EXPORT void do_export( struct gaim_connection *gc );227 223 G_MODULE_EXPORT void signoff_blocked( struct gaim_connection *gc ); 228 224 … … 245 241 G_MODULE_EXPORT void serv_got_chat_left( struct gaim_connection *gc, int id ); 246 242 247 /* prefs.c */248 G_MODULE_EXPORT void build_block_list();249 G_MODULE_EXPORT void build_allow_list();250 251 243 struct conversation *conv_findchannel( char *channel ); 252 244 -
protocols/oscar/oscar.c
r85616c3 r3edaed9 2058 2058 name = g_strdup(normalize(curitem->name)); 2059 2059 gc->permit = g_slist_append(gc->permit, name); 2060 build_allow_list();2061 2060 tmp++; 2062 2061 } … … 2072 2071 name = g_strdup(normalize(curitem->name)); 2073 2072 gc->deny = g_slist_append(gc->deny, name); 2074 build_block_list();2075 2073 tmp++; 2076 2074 } … … 2278 2276 tm.tm_mday = (int)info->birthday; 2279 2277 tm.tm_mon = (int)info->birthmonth-1; 2280 tm.tm_year = (int)info->birthyear -1900;2278 tm.tm_year = (int)info->birthyear%100; 2281 2279 strftime(date, sizeof(date), "%Y-%m-%d", &tm); 2282 2280 info_string_append(str, "\n", _("Birthday"), date); -
protocols/ssl_nss.c
r85616c3 r3edaed9 122 122 if( source == -1 ) 123 123 goto ssl_connected_failure; 124 125 124 126 127 125 /* Until we find out how to handle non-blocking I/O with NSS... */ 126 sock_make_blocking( conn->fd ); 127 128 128 conn->prfd = SSL_ImportFD(NULL, PR_ImportTCPSocket(source)); 129 129 SSL_OptionSet(conn->prfd, SSL_SECURITY, PR_TRUE); … … 181 181 return( ((struct scd*)conn)->fd ); 182 182 } 183 184 GaimInputCondition ssl_getdirection( void *conn ) 185 { 186 /* Just in case someone calls us, let's return the most likely case: */ 187 return GAIM_INPUT_READ; 188 } -
root_commands.c
r85616c3 r3edaed9 57 57 s --; 58 58 } 59 } 60 else if( *s == '\\' && ( ( !q && s[1] ) || ( q && q == s[1] ) ) ) 61 { 62 char *cpy; 63 64 for( cpy = s; *cpy; cpy ++ ) 65 cpy[0] = cpy[1]; 59 66 } 60 67 else if( *s == q )
Note: See TracChangeset
for help on using the changeset viewer.