X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13e36e7d7378077df05f126c50f87108518a6ea7..79118f628f55de7ee71081b53a15f91758b65c52:/src/java/jxbt_utilities.h diff --git a/src/java/jxbt_utilities.h b/src/java/jxbt_utilities.h index 699e4f67e0..fc801a30e1 100644 --- a/src/java/jxbt_utilities.h +++ b/src/java/jxbt_utilities.h @@ -63,7 +63,7 @@ jfieldID jxbt_get_sfield(JNIEnv * env, const char *classname, jxbt_throw_host_failure(env, detail); \ } else if (res == MSG_TRANSFER_FAILURE) { \ jxbt_throw_transfer_failure(env,detail); \ - } else if (res == MSG_TIMEOUT_FAILURE) { \ + } else if (res == MSG_TIMEOUT) { \ jxbt_throw_time_out_failure(env,detail); \ } else if (res == MSG_TASK_CANCELLED){ \ jxbt_throw_task_cancelled(env,detail); \