From 2a98e22685f02a89ca5ac78e20afa994ac36489a Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 10 Oct 2007 15:56:21 +0000 Subject: [PATCH] Do display where the exception comes from when dealing with remote exceptions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4798 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/ex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/ex.c b/src/xbt/ex.c index adfc14ac21..3cbbbcd9db 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -323,7 +323,7 @@ void xbt_ex_display(xbt_ex_t *e) { char *thrower=NULL; if (e->remote) - bprintf(" on host %s(%d)",e->host,e->pid); + thrower = bprintf(" on host %s(%d)",e->host,e->pid); fprintf(stderr, "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n" -- 2.20.1