From: mquinson Date: Thu, 7 Sep 2006 13:05:28 +0000 (+0000) Subject: Remove Darina's cruft. No idea why it survived so long X-Git-Tag: v3.3~2577 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/24287505ac8fca56db241a50415f1d3683b0133f Remove Darina's cruft. No idea why it survived so long git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2782 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/Bandwidth/saturate.c b/src/amok/Bandwidth/saturate.c index c962c59924..5b13d13eb4 100644 --- a/src/amok/Bandwidth/saturate.c +++ b/src/amok/Bandwidth/saturate.c @@ -83,14 +83,8 @@ void amok_bw_saturate_start(const char* from_name,unsigned int from_port, request->duration=duration; request->msg_size=msg_size; - TRY{ gras_msg_rpccall(sock,60,gras_msgtype_by_name("amok_bw_sat start"),&request, NULL); - }CATCH(e){ - if (e.value==1) - THROW1(0,1,"%s",to_name); - THROW1(0,0,"%s",from_name); - } free(request); gras_socket_close(sock); } @@ -108,15 +102,10 @@ static int amok_bw_cb_sat_start(gras_msg_cb_ctx_t ctx, void *payload){ gras_msg_rpcreturn(60,ctx, NULL); -TRY{ amok_bw_saturate_begin(request->peer.name,request->peer.port, request->msg_size, request->duration, NULL,NULL); - - }CATCH(e){ - THROW1(0,1," can not connect %s ",((request)->peer.name)); - } free(request->peer.name);