-/* $Id$ */
-
/* gras message exchanges */
-/* Copyright (c) 2003-2009. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
restart_receive: /* Goto here when the receive of a message failed */
need_restart = 0;
now = gras_os_time();
- memset(&msg, sizeof(msg), 0);
+ memset(&msg, 0, sizeof(msg));
TRY {
xbt_queue_shift_timed(pd->msg_received, &msg,