From bc25b620e3abeca5bb4d7003c5eea1970a307056 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 6 Jul 2004 08:02:46 +0000 Subject: [PATCH] More debug msg, rephrase other debug msg git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@182 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/gras/Msg/msg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gras/Msg/msg.c b/src/gras/Msg/msg.c index 706c52ef70..ec5831d225 100644 --- a/src/gras/Msg/msg.c +++ b/src/gras/Msg/msg.c @@ -202,7 +202,9 @@ gras_msg_send(gras_socket_t *sock, string_type = gras_datadesc_by_name("string"); gras_assert(string_type); } - + + DEBUG3("send %s to %s:%d", msgtype->name, + gras_socket_peer_name(sock),gras_socket_peer_port(sock)); TRY(gras_trp_chunk_send(sock, GRAS_header, 6)); TRY(gras_datadesc_send(sock, string_type, &msgtype->name)); @@ -241,7 +243,7 @@ gras_msg_recv(gras_socket_t *sock, RAISE2(mismatch_error,"GRAS protocol mismatch (got %d, use %d)", (int)header[4], (int)GRAS_header[4]); r_arch = (int)header[5]; - DEBUG2("Handle an incoming message using protocol %d from arch %s", + DEBUG2("Handle an incoming message using protocol %d (remote is %s)", (int)header[4],gras_datadesc_arch_name(r_arch)); TRY(gras_datadesc_recv(sock, string_type, r_arch, &msg_name)); -- 2.20.1