- Timestamp:
- 2010-03-20T17:27:23Z (15 years ago)
- Branches:
- master
- Children:
- ffb6dea
- Parents:
- 21029d0
- Location:
- protocols/msn
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/Makefile
r21029d0 re5a8118 10 10 11 11 # [SH] Program variables 12 objects = msn.o msn_util.o ns.o passport.o sb.o tables.o12 objects = msn.o msn_util.o ns.o passport.o sb.o soap.o tables.o 13 13 14 14 CFLAGS += -Wall -
protocols/msn/msn.c
r21029d0 re5a8118 99 99 g_free( md->grouplist[--md->groupcount] ); 100 100 g_free( md->grouplist ); 101 102 g_free( md->passport_token ); 101 103 102 104 g_free( md ); -
protocols/msn/msn.h
r21029d0 re5a8118 42 42 43 43 /* This should be MSN Messenger 7.0.0813 */ 44 #define MSNP11_PROD_KEY "CFHUR$52U_{VIX5T" 45 #define MSNP11_PROD_ID "PROD0101{0RM?UBW" 44 //#define MSNP11_PROD_KEY "CFHUR$52U_{VIX5T" 45 //#define MSNP11_PROD_ID "PROD0101{0RM?UBW" 46 47 #define MSNP11_PROD_KEY "O4BG@C7BWLYQX?5G" 48 #define MSNP11_PROD_ID "PROD01065C%ZFN6F" 46 49 47 50 #define MSN_SB_NEW -24062002 … … 68 71 69 72 int trId; 73 char *passport_token; 74 char *lock_key; 70 75 71 76 GSList *msgq; -
protocols/msn/ns.c
r21029d0 re5a8118 737 737 char buf[1024]; 738 738 739 md->passport_token = g_strdup( mad->token ); 740 739 741 g_snprintf( buf, sizeof( buf ), "USR %d TWN S %s\r\n", ++md->trId, mad->token ); 740 742 msn_write( ic, buf, strlen( buf ) ); -
protocols/msn/sb.c
r21029d0 re5a8118 29 29 #include "passport.h" 30 30 #include "md5.h" 31 #include "soap.h" 31 32 32 33 static gboolean msn_sb_callback( gpointer data, gint source, b_input_condition cond ); … … 606 607 const struct msn_status_code *err = msn_status_by_number( num ); 607 608 609 if( num == 217 ) 610 { 611 GSList *l; 612 613 for( l = sb->msgq; l; l = l->next ) 614 { 615 struct msn_message *m = l->data; 616 msn_soap_oim_send( ic, m->who, m->text ); 617 } 618 } 619 608 620 imcb_error( ic, "Error reported by switchboard server: %s", err->text ); 609 621
Note: See TracChangeset
for help on using the changeset viewer.