From 7fdb981011856959179df98b219668f77ddbc3c8 Mon Sep 17 00:00:00 2001 From: navarrop Date: Wed, 21 Jul 2010 09:46:11 +0000 Subject: [PATCH] Cosmetics. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8042 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/msg/icomms/peer.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/msg/icomms/peer.c b/examples/msg/icomms/peer.c index 2271765b56..0e2c21db29 100755 --- a/examples/msg/icomms/peer.c +++ b/examples/msg/icomms/peer.c @@ -52,10 +52,10 @@ int sender(int argc, char *argv[]) } else { - while(MSG_comm_test(comm) == 0){ - MSG_process_sleep (sleep_test_time); - }; - MSG_comm_destroy(comm); + while(MSG_comm_test(comm) == 0){ + MSG_process_sleep (sleep_test_time); + }; + MSG_comm_destroy(comm); } } @@ -73,10 +73,10 @@ int sender(int argc, char *argv[]) } else { - while(MSG_comm_test(comm) == 0){ - MSG_process_sleep (sleep_test_time); - }; - MSG_comm_destroy(comm); + while(MSG_comm_test(comm) == 0){ + MSG_process_sleep (sleep_test_time); + }; + MSG_comm_destroy(comm); } } @@ -114,10 +114,10 @@ int receiver(int argc, char *argv[]) } else { - while(MSG_comm_test(res_irecv) == 0){ - MSG_process_sleep (sleep_test_time); - }; - MSG_comm_destroy(res_irecv); + while(MSG_comm_test(res_irecv) == 0){ + MSG_process_sleep (sleep_test_time); + }; + MSG_comm_destroy(res_irecv); } INFO1("Received \"%s\"", MSG_task_get_name(task)); -- 2.20.1