Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename MSG_TIMEOUT_FAILURE into MSG_TIMEOUT
authorcoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 24 Mar 2010 09:17:47 +0000 (09:17 +0000)
committercoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 24 Mar 2010 09:17:47 +0000 (09:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7343 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/jxbt_utilities.h

index 699e4f6..fc801a3 100644 (file)
@@ -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); \