git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2099
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
switch (msg.kind) {
case e_gras_msg_kind_oneway:
case e_gras_msg_kind_rpccall:
switch (msg.kind) {
case e_gras_msg_kind_oneway:
case e_gras_msg_kind_rpccall:
TRY {
xbt_dynar_foreach(list->cbs,cpt,cb) {
VERB3("Use the callback #%d (@%p) for incomming msg %s",
TRY {
xbt_dynar_foreach(list->cbs,cpt,cb) {
VERB3("Use the callback #%d (@%p) for incomming msg %s",
if ((*cb)(&ctx,msg.payl)) {
/* cb handled the message */
free(msg.payl);
if ((*cb)(&ctx,msg.payl)) {
/* cb handled the message */
free(msg.payl);
gras_socket_peer_port(msg.expe));
e.host = NULL;
xbt_ex_free(e);
gras_socket_peer_port(msg.expe));
e.host = NULL;
xbt_ex_free(e);
+ if (!ran_ok)
+ THROW1(mismatch_error,0,
+ "Message '%s' refused by all registered callbacks", msg.type->name);
/* FIXME: gras_datadesc_free not implemented => leaking the payload */
/* FIXME: gras_datadesc_free not implemented => leaking the payload */
- THROW1(mismatch_error,0,
- "Message '%s' refused by all registered callbacks", msg.type->name);