From: Dave H. <hel...@us...> - 2013-08-06 04:38:08
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "sfcb - Small Footprint CIM Broker". The branch, master has been updated via 2f234a060bbdae2fe9d12770018f113ef5b1466d (commit) from 0af3c710a4c89cfe0b84c74fcda34bb9db65bbd7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2f234a060bbdae2fe9d12770018f113ef5b1466d Author: Dave Heller <hel...@us...> Date: Tue Aug 6 00:36:09 2013 -0400 [sfcb-tix:#60] fix providerMgr trace for localconnect ----------------------------------------------------------------------- Summary of changes: providerMgr.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/providerMgr.c b/providerMgr.c index b1590a8..085eeb1 100644 --- a/providerMgr.c +++ b/providerMgr.c @@ -1508,12 +1508,16 @@ invokeProviders(BinRequestContext * binCtx, int *err, int *count) _SFCB_TRACE(1, ("--- %d providers", binCtx->pCount)); for (i = 0; i < binCtx->pCount; i++, binCtx->pDone++) { binCtx->provA = binCtx->pAs[i]; - _SFCB_TRACE_VAR_PTR(ProviderInfo *info, pReg->ft->getProviderById(pReg, binCtx->provA.ids.provId)); - - _SFCB_TRACE(1, ("--- Calling provider id: %d type=%lu %s (%s)", - info->id, info->type, info->providerName, info->className)); + if (pReg) { + _SFCB_TRACE_VAR_PTR(ProviderInfo *info, pReg->ft->getProviderById(pReg, + binCtx->provA.ids.provId)); + _SFCB_TRACE(1, ("--- Calling provider id: %d type=%lu %s (%s)", + info->id, info->type, info->providerName, info->className)); + } else { + _SFCB_TRACE(1, ("--- Calling provider id: %d", binCtx->provA.ids.provId)); + } resp[i] = intInvokeProvider(binCtx, sockets); - _SFCB_TRACE(1, ("--- back from calling provider id: %d", info->id)); + _SFCB_TRACE(1, ("--- back from calling provider id: %d", binCtx->provA.ids.provId)); *count += resp[i]->count; resp[i]->rc--; if (*err == 0 && resp[i]->rc != 0) hooks/post-receive -- sfcb - Small Footprint CIM Broker |