Commit e3fd37b5 authored by smorlat's avatar smorlat
Browse files


git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent a88326d9
......@@ -174,11 +174,18 @@ int p2pproxy_resourcemgt_revoke_sip_proxy(const char* proxy_uri) {
return lResult;
int p2pproxy_application_get_state() {
jmethodID stateMethod;
stateMethod = (*lJniEnv)->GetStaticMethodID(lJniEnv, lMainClass, "getState", "()I");
if (stateMethod==NULL) {
goto end;
lResult = (*lJniEnv)->CallStaticIntMethod(lJniEnv, lMainClass, stateMethod);
goto end;
return lResult;
......@@ -29,7 +29,8 @@ static ms_thread_t fonis_thread;
static void *fonis_thread_func(void *arg){
if (p2pproxy_application_start(0,NULL)!=0){
char *argv[]={"-edge-only","-sip", "5058",NULL};
if (p2pproxy_application_start(3,argv)!=0){
ms_error("Fail to start fonis thread !");
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment