summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2012-05-11 12:51:38 +0530
committerVijay Bellur <vijay@gluster.com>2012-05-18 00:50:31 -0700
commit19394ef5f133d18aea757129bd903307814f1afb (patch)
tree91e87babd62632946c55ecd4214fbec07086d964 /xlators/protocol/server
parent80a2d2752fcc363cba04a7421451cbe000edd6c5 (diff)
protocol/client: Concatinate the graph uuid along with process uuid in
setlk_version. Change-Id: Idec06c5ef1d440864e465f008a38c86395b52aba BUG: 820831 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.com/3314 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server-helpers.c2
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 7c5106d01b8..01c21636b6b 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;