From ef6f2ef3d34f40599b215fbca73c5c54d617e84f Mon Sep 17 00:00:00 2001 From: gardners Date: Fri, 27 Apr 2012 07:17:50 +0930 Subject: [PATCH] cleaned up id_self() output. --- commandline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commandline.c b/commandline.c index 990b4f21..c28a7d36 100644 --- a/commandline.c +++ b/commandline.c @@ -167,6 +167,7 @@ JNIEXPORT jobject JNICALL Java_org_servalproject_servald_ServalD_command(JNIEnv (*env)->ThrowNew(env, exceptionClass, "re-entrancy not supported"); return NULL; } + // Get some handles to some classes and methods that we use later on. if ((resultClass = (*env)->FindClass(env, "org/servalproject/servald/ServalDResult")) == NULL) 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.addrlist.first_sid=a.addrlist.last_sid+1; } - cli_printf("returned %d SIDs",count); cli_delim("\n"); return 0; }