From 649331b8fc5e411ce99fe9730608fa79a8d45e81 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Mon, 4 May 2020 00:09:33 +0800 Subject: [PATCH] [td-168] remove a print --- src/rpc/src/rpcCache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rpc/src/rpcCache.c b/src/rpc/src/rpcCache.c index 5ba8e00aa8..edbb9b3e12 100644 --- a/src/rpc/src/rpcCache.c +++ b/src/rpc/src/rpcCache.c @@ -146,9 +146,6 @@ void rpcAddConnIntoCache(void *handle, void *data, char *fqdn, uint16_t port, in rpcUnlockCache(pCache->lockedBy+hash); pCache->total++; - - printf("--------put back, %s, %d\n", fqdn, hash); - tTrace("%p %s:%hu:%d:%d:%p added into cache, connections:%d", data, fqdn, port, connType, hash, pNode, pCache->count[hash]); return; @@ -205,7 +202,7 @@ void *rpcGetConnFromCache(void *handle, char *fqdn, uint16_t port, int8_t connTy if (pData) { tTrace("%p %s:%hu:%d:%d:%p retrieved from cache, connections:%d", pData, fqdn, port, connType, hash, pNode, pCache->count[hash]); } else { - tTrace("%p %s:%hu:%d:%d:%p failed to retrieve conn from cache, connections:%d", pData, fqdn, port, connType, hash, pNode, pCache->count[hash]); + tTrace("%s:%hu:%d:%d failed to retrieve conn from cache, connections:%d", fqdn, port, connType, hash, pCache->count[hash]); } return pData; -- GitLab