src/protocols/msn/slplink.c

changeset 11367
98a6c86c1331
parent 11321
a93121c0ea16
child 11595
fd22dcf805e8
equal deleted inserted replaced
11366:596ca01a6b72 11367:98a6c86c1331
663 guint32 unk3; 663 guint32 unk3;
664 } MsnContextHeader; 664 } MsnContextHeader;
665 665
666 #define MAX_FILE_NAME_LEN 0x226 666 #define MAX_FILE_NAME_LEN 0x226
667 667
668 static char * 668 static gchar *
669 gen_context(const char *file_name, const char *file_path) 669 gen_context(const char *file_name, const char *file_path)
670 { 670 {
671 struct stat st; 671 struct stat st;
672 gsize size = 0; 672 gsize size = 0;
673 MsnContextHeader header; 673 MsnContextHeader header;
674 gchar *u8 = NULL; 674 gchar *u8 = NULL;
675 guchar *base, *n, *ret; 675 guchar *base;
676 guchar *n;
677 gchar *ret;
676 gunichar2 *uni = NULL; 678 gunichar2 *uni = NULL;
677 glong currentChar = 0; 679 glong currentChar = 0;
678 glong uni_len = 0; 680 glong uni_len = 0;
679 gsize len; 681 gsize len;
680 682

mercurial