diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-12-10 04:48:49 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-12-10 02:51:19 -0800 |
commit | 40e1d364161b45299fcefd50879d532a01f4d2b5 (patch) | |
tree | 1f5337451e8e9abae9fc0eb075371a7043f4ff1d /rpc | |
parent | 9f480be0333863a2cb30088504d233fd6eb46ebf (diff) |
rpcsvc: while handling transport-cleanup event look for listener with transport trans->listener instead of trans.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2208 (transport cleanup event is not sent to programs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2208
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-lib/src/rpcsvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c index 7db9ff48f8c..1f2cbd731e8 100644 --- a/rpc/rpc-lib/src/rpcsvc.c +++ b/rpc/rpc-lib/src/rpcsvc.c @@ -1102,7 +1102,7 @@ rpcsvc_notify (rpc_transport_t *trans, void *mydata, break; case RPC_TRANSPORT_CLEANUP: - listener = rpcsvc_get_listener (svc, -1, trans); + listener = rpcsvc_get_listener (svc, -1, trans->listener); if (listener == NULL) { goto out; } |