Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill old $Id$ command dating from CVS
[simgrid.git] / src / gras / Msg / rpc.c
index 8f59435..4c42209 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* rpc - RPC implementation on top of GRAS messages                         */
 
 /* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
@@ -112,7 +110,7 @@ void gras_msg_ctx_mallocator_free_f(void *ctx)
 
 void gras_msg_ctx_mallocator_reset_f(void *ctx)
 {
-  memset(ctx, sizeof(s_gras_msg_cb_ctx_t), 0);
+  memset(ctx, 0, sizeof(s_gras_msg_cb_ctx_t));
 }
 
 /** @brief Launch a RPC call, but do not block for the answer */