diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-31 20:18:23 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-07-31 20:18:23 -0700 |
commit | dbf5f0cf42337a5bfd0e0e11ed0ff94f11cf448d (patch) | |
tree | 9bd39900287a319065b8299505a5689cf0f94455 /cmds | |
parent | 3161d6dc2e1141bff233e8238d29c68b21c216cc (diff) | |
parent | b86bad9493a331a09dd765bc6e725c0aec969ff6 (diff) | |
download | frameworks_base-dbf5f0cf42337a5bfd0e0e11ed0ff94f11cf448d.zip frameworks_base-dbf5f0cf42337a5bfd0e0e11ed0ff94f11cf448d.tar.gz frameworks_base-dbf5f0cf42337a5bfd0e0e11ed0ff94f11cf448d.tar.bz2 |
am b86bad94: Merge change 9438 into donut
Merge commit 'b86bad9493a331a09dd765bc6e725c0aec969ff6'
* commit 'b86bad9493a331a09dd765bc6e725c0aec969ff6':
Change some log.i to log.d.
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/keystore/netkeystore.c | 5 |
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); } |