Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill old $Id$ command dating from CVS
[simgrid.git] / src / gras / Msg / gras_msg_exchange.c
index 79bd73c..8a6109a 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* gras message exchanges                                                   */
 
 /* Copyright (c) 2003-2009. The SimGrid Team. All rights reserved.          */
@@ -86,7 +84,7 @@ gras_msg_wait_ext_(double timeout,
   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,