mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
cleaned up id_self() output.
This commit is contained in:
parent
7f11e25922
commit
ef6f2ef3d3
@ -167,6 +167,7 @@ JNIEXPORT jobject JNICALL Java_org_servalproject_servald_ServalD_command(JNIEnv
|
|||||||
(*env)->ThrowNew(env, exceptionClass, "re-entrancy not supported");
|
(*env)->ThrowNew(env, exceptionClass, "re-entrancy not supported");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get some handles to some classes and methods that we use later on.
|
// Get some handles to some classes and methods that we use later on.
|
||||||
if ((resultClass = (*env)->FindClass(env, "org/servalproject/servald/ServalDResult")) == NULL)
|
if ((resultClass = (*env)->FindClass(env, "org/servalproject/servald/ServalDResult")) == NULL)
|
||||||
return NULL; // exception
|
return NULL; // exception
|
||||||
@ -1168,7 +1169,6 @@ int app_id_self(int argc, const char *const *argv, struct command_line_option *o
|
|||||||
a.packetTypeAndFlags=MDP_GETADDRS;
|
a.packetTypeAndFlags=MDP_GETADDRS;
|
||||||
a.addrlist.first_sid=a.addrlist.last_sid+1;
|
a.addrlist.first_sid=a.addrlist.last_sid+1;
|
||||||
}
|
}
|
||||||
cli_printf("returned %d SIDs",count); cli_delim("\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user