From b52dc1b5fd2c90830626178b101ad848f69611e6 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 10 Dec 2004 11:52:04 +0000 Subject: [PATCH] use gras_init. xbt_init is not enough git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@609 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/ping/ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ping/ping.c b/examples/ping/ping.c index 2f8e391f00..069c7c53b8 100644 --- a/examples/ping/ping.c +++ b/examples/ping/ping.c @@ -86,7 +86,7 @@ int server (int argc,char *argv[]) { int port = 4000; - xbt_init(&argc,argv); + gras_init(&argc,argv, NULL); g=gras_userdata_new(server_data_t); if (argc == 2) { @@ -145,7 +145,7 @@ int client(int argc,char *argv[]) { const char *host = "127.0.0.1"; int port = 4000; - xbt_init(&argc, argv); + gras_init(&argc, argv, NULL); g=gras_userdata_new(client_data_t); if (argc == 3) { -- 2.20.1