summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-31 20:15:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-31 20:15:15 -0700
commit23c95b3b3277260d7ada14637d9da309695c6c40 (patch)
treee773ce8f5805b1a8b90bb3ef17679f12241d8398 /cmds
parentf8c8a652cda98094f8beb6ffbc7852b2ded25a86 (diff)
parent6cdee5801063c9c332193a186d973a4993c1dd31 (diff)
downloadframeworks_native-23c95b3b3277260d7ada14637d9da309695c6c40.zip
frameworks_native-23c95b3b3277260d7ada14637d9da309695c6c40.tar.gz
frameworks_native-23c95b3b3277260d7ada14637d9da309695c6c40.tar.bz2
Merge change 9438 into donut
* changes: Change some log.i to log.d.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/keystore/netkeystore.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/keystore/netkeystore.c b/cmds/keystore/netkeystore.c
index eac455e..637e0d8 100644
--- a/cmds/keystore/netkeystore.c
+++ b/cmds/keystore/netkeystore.c
@@ -37,6 +37,7 @@
#include "netkeystore.h"
#include "keymgmt.h"
+#define DBG 1
#define CMD_PUT_WITH_FILE "putfile"
typedef void CMD_FUNC(LPC_MARSHAL *cmd, LPC_MARSHAL *reply);
@@ -397,12 +398,12 @@ int main(const int argc, const char *argv[])
// read the command, execute and send the result back.
if(read_marshal(s, &cmd)) goto err;
- LOGI("new connection\n");
+ if (DBG) LOGD("new connection\n");
execute(&cmd, &reply);
write_marshal(s, &reply);
err:
memset(&reply, 0, sizeof(LPC_MARSHAL));
- LOGI("closing connection\n");
+ if (DBG) LOGD("closing connection\n");
close(s);
}