X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0b01f817e1445c4df99323f45dd0208760a29b6c..7edfb13279f2fded41bac9dece85360d0c43a9a7:/src/java/jmsg.c diff --git a/src/java/jmsg.c b/src/java/jmsg.c index fbb122abbe..1432365b09 100644 --- a/src/java/jmsg.c +++ b/src/java/jmsg.c @@ -388,7 +388,7 @@ Java_simgrid_msg_MsgNative_hostGetByName(JNIEnv * env, jclass cls, /* the native host data field is set with the global reference to the * java host returned by this function */ - MSG_host_get_data(host,(void *) jhost); + MSG_host_set_data(host,(void *) jhost); } /* return the global reference to the java host instance */