Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add first set of SI95 unit tests and health check
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
src
/
rtable_si_static.c
diff --git
a/src/rmr/si/src/rtable_si_static.c
b/src/rmr/si/src/rtable_si_static.c
index
0f796e3
..
86f50fe
100644
(file)
--- a/
src/rmr/si/src/rtable_si_static.c
+++ b/
src/rmr/si/src/rtable_si_static.c
@@
-225,6
+225,7
@@
static int uta_epsock_byname( uta_ctx_t* ctx, char* ep_name, int* nn_sock, endpo
if( PARINOID_CHECKS ) {
if( ctx == NULL || (rt = ctx->rtable) == NULL || (si_ctx = ctx->si_ctx) == NULL ) {
if( PARINOID_CHECKS ) {
if( ctx == NULL || (rt = ctx->rtable) == NULL || (si_ctx = ctx->si_ctx) == NULL ) {
+ if( DEBUG ) rmr_vlog( RMR_VL_DEBUG, "epsock_byname: parinoia check pop ctx=%p rt=%p\n", ctx, rt );
return FALSE;
}
} else {
return FALSE;
}
} else {
@@
-233,6
+234,7
@@
static int uta_epsock_byname( uta_ctx_t* ctx, char* ep_name, int* nn_sock, endpo
}
ep = rmr_sym_get( rt->hash, ep_name, 1 );
}
ep = rmr_sym_get( rt->hash, ep_name, 1 );
+ if( DEBUG ) rmr_vlog( RMR_VL_DEBUG, "epsock_byname: ep not found: %s\n", ep_name );
if( uepp != NULL ) { // caller needs endpoint too, give it back
*uepp = ep;
}
if( uepp != NULL ) { // caller needs endpoint too, give it back
*uepp = ep;
}