fix mistake

This commit is contained in:
Simon Morlat 2013-01-30 12:32:19 +01:00
parent e2707b8d5c
commit 77a03fbdb1

View file

@ -1510,7 +1510,7 @@ extern "C" jstring Java_org_linphone_core_LinphoneCallImpl_getRemoteUserAgent(JN
LinphoneCall *call = (LinphoneCall *)ptr;
const char *value=linphone_call_get_remote_user_agent(call);
jstring jvalue=NULL;
if (value) jvalue=env->NewStringUTF();
if (value) jvalue=env->NewStringUTF(value);
return jvalue;
}