From c8e55a85a3db86ccbe095f0352f39e844eda796f Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 2 Dec 2014 06:08:58 -0800 Subject: [PATCH] use a constant; log a bit more for now --- xwords4/android/XWords4/jni/xportwrapper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/jni/xportwrapper.c b/xwords4/android/XWords4/jni/xportwrapper.c index 40f76fc81..b9ab9497f 100644 --- a/xwords4/android/XWords4/jni/xportwrapper.c +++ b/xwords4/android/XWords4/jni/xportwrapper.c @@ -53,7 +53,7 @@ makeJAddr( JNIEnv* env, const CommsAddrRec* addr ) static XP_U32 and_xport_getFlags( void* closure ) { - jint result = 0; + jint result = COMMS_XPORT_FLAGS_NONE; AndTransportProcs* aprocs = (AndTransportProcs*)closure; if ( NULL != aprocs->jxport ) { JNIEnv* env = ENVFORME( aprocs->ti ); @@ -143,6 +143,7 @@ and_xport_sendNoConn( const XP_U8* buf, XP_U16 len, jbytes, str ); deleteLocalRefs( env, jbytes, str, DELETE_NO_REF ); } + LOG_RETURNF( "%d", result ); return result; }