Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slp.c @ 28160:769142e728ec
Somehow this bit got left in there. Should really compile this time.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 04 Aug 2009 04:18:57 +0000 |
parents | bf7039a638b7 |
children | 00836f1fde84 |
comparison
equal
deleted
inserted
replaced
28158:6ef1f49d6b6c | 28160:769142e728ec |
---|---|
340 { | 340 { |
341 bin = (char *)purple_base64_decode(context, &bin_len); | 341 bin = (char *)purple_base64_decode(context, &bin_len); |
342 file_size = GUINT32_FROM_LE(*(gsize *)(bin + 8)); | 342 file_size = GUINT32_FROM_LE(*(gsize *)(bin + 8)); |
343 | 343 |
344 file_name = g_convert(bin + 20, MAX_FILE_NAME_LEN, "UTF-8", "UTF-16LE", | 344 file_name = g_convert(bin + 20, MAX_FILE_NAME_LEN, "UTF-8", "UTF-16LE", |
345 NULL, NULL, &error); | 345 NULL, NULL, NULL); |
346 | 346 |
347 g_free(bin); | 347 g_free(bin); |
348 | 348 |
349 purple_xfer_set_filename(xfer, file_name); | 349 purple_xfer_set_filename(xfer, file_name); |
350 g_free(file_name); | 350 g_free(file_name); |