libpurple/connection.c

branch
soc.2013.gobjectification
changeset 34788
38d1b844ddb6
parent 34787
d736bcb6c5a1
child 34814
759ea31715dd
--- a/libpurple/connection.c	Tue Jul 16 03:10:10 2013 +0530
+++ b/libpurple/connection.c	Tue Jul 16 15:21:56 2013 +0530
@@ -570,7 +570,7 @@
 	g_return_val_if_fail(err != NULL, NULL);
 
 	newerr = g_new(PurpleConnectionErrorInfo, 1);
-	*newerr = *err;
+	newerr->type        = err->type;
 	newerr->description = g_strdup(err->description);
 
 	return newerr;

mercurial