- Timestamp:
- 2010-08-07T16:33:02Z (14 years ago)
- Branches:
- master
- Children:
- 7b87539
- Parents:
- 289bd2d
- Location:
- protocols
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/Makefile
r289bd2d rdaae10f 25 25 # Expansion of variables 26 26 subdirobjs := $(join $(subdirs),$(addprefix /,$(subdirobjs))) 27 CFLAGS += -Wall28 27 LFLAGS += -r 29 28 -
protocols/jabber/Makefile
r289bd2d rdaae10f 15 15 objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o 16 16 17 CFLAGS += -Wall18 17 LFLAGS += -r 19 18 -
protocols/jabber/jabber.c
r289bd2d rdaae10f 381 381 if( bud->away_state ) 382 382 imcb_log( ic, "Away state: %s", bud->away_state->full_name ); 383 imcb_log( ic, "Status message: %s", bud->away_message ? : "(none)" );383 imcb_log( ic, "Status message: %s", bud->away_message ? bud->away_message : "(none)" ); 384 384 385 385 bud = bud->next; … … 395 395 /* state_txt == NULL -> Not away. 396 396 Unknown state -> fall back to the first defined away state. */ 397 jd->away_state = state_txt ? jabber_away_state_by_name( state_txt ) 398 ? : jabber_away_state_list : NULL; 397 if( state_txt == NULL ) 398 jd->away_state = NULL; 399 else if( ( jd->away_state = jabber_away_state_by_name( state_txt ) ) == NULL ) 400 jd->away_state = jabber_away_state_list; 399 401 400 402 g_free( jd->away_message ); -
protocols/jabber/message.c
r289bd2d rdaae10f 59 59 { 60 60 room = from; 61 from = xt_find_attr( inv, "from" ) ? : from; 61 if( ( from = xt_find_attr( inv, "from" ) ) == NULL ) 62 from = room; 62 63 63 64 g_string_append_printf( fullmsg, "<< \002BitlBee\002 - Invitation to chatroom %s >>\n", room ); … … 72 73 { 73 74 bud->last_msg = time( NULL ); 74 from = bud->ext_jid ? : bud->bare_jid;75 from = bud->ext_jid ? bud->ext_jid : bud->bare_jid; 75 76 } 76 77 else -
protocols/msn/Makefile
r289bd2d rdaae10f 15 15 objects = msn.o msn_util.o ns.o passport.o sb.o tables.o 16 16 17 CFLAGS += -Wall18 17 LFLAGS += -r 19 18 -
protocols/msn/msn.c
r289bd2d rdaae10f 176 176 struct msn_data *md = ic->proto_data; 177 177 178 if( state ) 179 md->away_state = msn_away_state_by_name( state ) ? : 180 msn_away_state_list + 1; 181 else 178 if( state == NULL ) 182 179 md->away_state = msn_away_state_list; 180 else if( ( md->away_state = msn_away_state_by_name( state ) ) == NULL ) 181 md->away_state = msn_away_state_list + 1; 183 182 184 183 g_snprintf( buf, sizeof( buf ), "CHG %d %s\r\n", ++md->trId, md->away_state->code ); -
protocols/nogaim.c
r289bd2d rdaae10f 468 468 469 469 s = g_strdup_printf( "The user %s%s wants to add you to his/her buddy list.", 470 handle, realname_ ? : "" );470 handle, realname_ ? realname_ : "" ); 471 471 472 472 g_free( realname_ ); … … 491 491 cbd->ic->acc->prpl->add_buddy( cbd->ic, cbd->handle, NULL ); 492 492 493 returnimcb_ask_add_cb_no( data );493 imcb_ask_add_cb_no( data ); 494 494 } 495 495 -
protocols/nogaim.h
r289bd2d rdaae10f 39 39 #define _NOGAIM_H 40 40 41 #if(__sun) 42 #include <inttypes.h> 43 #else 41 44 #include <stdint.h> 45 #endif 46 47 #include "lib/events.h" 42 48 43 49 #include "bitlbee.h" -
protocols/oscar/Makefile
r289bd2d rdaae10f 16 16 objects = admin.o auth.o bos.o buddylist.o chat.o chatnav.o conn.o icq.o im.o info.o misc.o msgcookie.o rxhandlers.o rxqueue.o search.o service.o snac.o ssi.o stats.o tlv.o txqueue.o oscar_util.o oscar.o 17 17 18 CFLAGS += -Wall19 18 LFLAGS += -r 20 19 -
protocols/twitter/Makefile
r289bd2d rdaae10f 15 15 objects = twitter.o twitter_http.o twitter_lib.o 16 16 17 CFLAGS += -Wall18 17 LFLAGS += -r 19 18 -
protocols/twitter/twitter_lib.c
r289bd2d rdaae10f 23 23 24 24 /* For strptime(): */ 25 #if(__sun) 26 #else 25 27 #define _XOPEN_SOURCE 28 #endif 26 29 27 30 #include "twitter_http.h" -
protocols/yahoo/Makefile
r289bd2d rdaae10f 15 15 objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o 16 16 17 CFLAGS += - Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB17 CFLAGS += -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB 18 18 LFLAGS += -r 19 19 -
protocols/yahoo/libyahoo2.c
r289bd2d rdaae10f 1859 1859 } 1860 1860 1861 return yahoo_https_auth_init(had); 1861 yahoo_https_auth_init(had); 1862 return; 1862 1863 1863 1864 fail:
Note: See TracChangeset
for help on using the changeset viewer.