projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef48591
)
Fix logic error in gss name comparison.
author
Margaret Wasserman
<margaret@moonshot-proxy>
Tue, 9 Jul 2013 22:12:46 +0000
(18:12 -0400)
committer
Margaret Wasserman
<margaret@moonshot-proxy>
Tue, 9 Jul 2013 22:12:46 +0000
(18:12 -0400)
common/tr_rp.c
patch
|
blob
|
history
diff --git
a/common/tr_rp.c
b/common/tr_rp.c
index
61ef84a
..
9711fbb
100644
(file)
--- a/
common/tr_rp.c
+++ b/
common/tr_rp.c
@@
-47,7
+47,7
@@
TR_RP_CLIENT *tr_rp_client_lookup(TR_INSTANCE *tr, TR_NAME *gss_name) {
}
for (rp = tr->active_cfg->rp_clients; NULL != rp; rp = rp->next) {
- for (i = 0; ((i < TR_MAX_GSS_NAMES) && (NULL
=
= (rp->gss_names[i]))); i++) {
+ for (i = 0; ((i < TR_MAX_GSS_NAMES) && (NULL
!
= (rp->gss_names[i]))); i++) {
if (!tr_name_cmp(gss_name, rp->gss_names[i])) {
return rp;
}