Two parameters swapped in the camel send queue



Hi,

this patch properly places two parameters that were swapped in the
original implementation of the send queue when notifying the user about
messages added to the send queue.

Br
Index: libtinymail-camel/tny-camel-send-queue.c
===================================================================
--- libtinymail-camel/tny-camel-send-queue.c	(revision 3636)
+++ libtinymail-camel/tny-camel-send-queue.c	(working copy)
@@ -989,8 +989,7 @@
 
 	/* Call user callback after msg has beed added to OUTBOX, waiting to be sent*/
 	if (info->callback)
-		info->callback (info->self, info->cancelled, info->msg, info->user_data, 
-			new_err?new_err:err);
+		info->callback (info->self, info->cancelled, info->msg, new_err?new_err:err, info->user_data);
 
 	if (new_err)
 		g_error_free (new_err);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]