diff libpurple/protocols/jabber/si.c @ 27773:0f3a131d23da

- import nosuke's hash 244 patch and others to yahoo plugin - do not perform any conversion in sanitize_* if _WIN32 defined - suppress warning as much as possible - fix indentation
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 29 Feb 2008 17:56:13 +0000
parents e9cf897bd873
children 1d012e75153f
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c	Fri Feb 29 08:32:34 2008 +0000
+++ b/libpurple/protocols/jabber/si.c	Fri Feb 29 17:56:13 2008 +0000
@@ -897,17 +897,17 @@
 	JabberIq *iq;
 	xmlnode *si, *file, *feature, *x, *field, *option, *value;
 	char buf[32];
-    gchar *f1 = NULL, *f2 = NULL;
-    size_t dummy;
+	gchar *f1 = NULL, *f2 = NULL;
+	gsize dummy;
 
-    /* yaz */
-    f1 = g_filename_display_basename(xfer->local_filename);
-    f2 = botch_utf(f1, strlen(f1), &dummy);
-    if(f2){
-        purple_xfer_set_filename(xfer, (char *)f2);
-    }
-    g_free(f1); f1 = NULL;
-    g_free(f2); f2 = NULL;
+	/* yaz */
+	f1 = g_filename_display_basename(xfer->local_filename);
+	f2 = botch_utf(f1, strlen(f1), &dummy);
+	if(f2){
+		purple_xfer_set_filename(xfer, (char *)f2);
+	}
+	g_free(f1); f1 = NULL;
+	g_free(f2); f2 = NULL;
 
 	iq = jabber_iq_new(jsx->js, JABBER_IQ_SET);
 	xmlnode_set_attrib(iq->node, "to", xfer->who);