diff options
author | Amar Tumballi <amar@gluster.com> | 2011-02-25 08:38:44 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-03-01 02:05:51 -0800 |
commit | bf73fd2d8d6805a9a3b947464c65a9847442bba3 (patch) | |
tree | 261db5b8f1c4f1f1ec1a8c9323ab222049a265c0 /cli/src/cli.c | |
parent | 36bd0291118dfee4df9d387eb94681d41a0abcbb (diff) |
glusterd: separate out cli specific programs and mgmt specific programs
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2333 (make glusterd more rpc friendly)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2333
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r-- | cli/src/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 7a0d1ab389e..7091101509a 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -101,7 +101,7 @@ struct rpc_clnt *global_rpc; rpc_clnt_prog_t *cli_rpc_prog; -extern struct rpc_clnt_program cli3_1_prog; +extern struct rpc_clnt_program cli_prog; static error_t parse_opts (int key, char *arg, struct argp_state *argp_state) @@ -499,7 +499,7 @@ cli_rpc_init (struct cli_state *state) this = THIS; - cli_rpc_prog = &cli3_1_prog; + cli_rpc_prog = &cli_prog; options = dict_new (); if (!options) goto out; |