summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.h
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-03-10 00:27:52 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-03-10 00:33:58 +0530
commit2323b92d9b7b679c84cab64697fc715434e28ac9 (patch)
tree996935179df8afe0747b34295e47091d54ec0eaf /xlators/protocol/client/src/client-protocol.h
parentae378b63c0ae93d8077d250de6a035b92bac8697 (diff)
failover to any active transport when requested channel is not connected
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/protocol/client/src/client-protocol.h')
-rw-r--r--xlators/protocol/client/src/client-protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 513267d3783..ce8cd516953 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -54,8 +54,8 @@ enum {
CHANNEL_LOWLAT = 1,
CHANNEL_MAX
};
-#define CLIENT_CHANNEL(xl,id) \
- (((client_conf_t *)(xl->private))->transport[id])
+
+#define CLIENT_CHANNEL client_channel
struct client_connection;
typedef struct client_connection client_connection_t;