diff options
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.c')
| -rw-r--r-- | xlators/protocol/server/src/server-helpers.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c index 51086aaf907..8827a48b041 100644 --- a/xlators/protocol/server/src/server-helpers.c +++ b/xlators/protocol/server/src/server-helpers.c @@ -687,7 +687,7 @@ server_connection_get (xlator_t *this, const char *id)          pthread_mutex_lock (&conf->mutex);          {                  list_for_each_entry (trav, &conf->conns, list) { -                        if (!strncmp (trav->id, id, strlen (id))) { +                        if (!strcmp (trav->id, id)) {                                  conn = trav;                                  conn->bind_ref++;                                  goto unlock;  | 
