Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change function called.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Jun 2010 08:34:27 +0000 (08:34 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Jun 2010 08:34:27 +0000 (08:34 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7919 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/jmsg.c

index fbb122a..1432365 100644 (file)
@@ -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 */