mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
more cleanup
This commit is contained in:
parent
cdb56c265f
commit
66b94ce67b
1 changed files with 0 additions and 6 deletions
|
@ -967,13 +967,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_comms_1getInitialAddr
|
|||
( JNIEnv* env, jclass C )
|
||||
{
|
||||
CommsAddrRec addr;
|
||||
#ifdef XWFEATURE_RELAY
|
||||
const char* chars = (*env)->GetStringUTFChars( env, jname, NULL );
|
||||
comms_getInitialAddr( &addr, chars, port );
|
||||
(*env)->ReleaseStringUTFChars( env, jname, chars );
|
||||
#else
|
||||
comms_getInitialAddr( &addr );
|
||||
#endif
|
||||
jobject jaddr = makeObjectEmptyConst( env, PKG_PATH("jni/CommsAddrRec") );
|
||||
setJAddrRec( env, jaddr, &addr );
|
||||
return jaddr;
|
||||
|
|
Loading…
Reference in a new issue