wibble
authorPierre Habouzit <madcoder@debian.org>
Wed, 23 May 2007 21:11:20 +0000 (23:11 +0200)
committerPierre Habouzit <madcoder@debian.org>
Wed, 23 May 2007 21:11:20 +0000 (23:11 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-sys/mutt_socket.c

index f71b789..b90a1f2 100644 (file)
@@ -215,7 +215,7 @@ CONNECTION *mutt_conn_find (const CONNECTION * start, const ACCOUNT * account)
   }
 
   conn = socket_new_conn ();
   }
 
   conn = socket_new_conn ();
-  memcpy (&conn->account, account, sizeof (ACCOUNT));
+  conn->account = *account;
 
   conn->next = Connections;
   Connections = conn;
 
   conn->next = Connections;
   Connections = conn;