diff options
author | Anand Avati <avati@gluster.com> | 2011-08-17 04:16:59 -0700 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-08-17 04:25:40 -0700 |
commit | 61a9ed994d817ffe9aab4b5adb31ffcb6ca6820c (patch) | |
tree | 8cc9b6de8906f0dbfcf49ab1e1254d2af7f30c39 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | b1b952d62d452641cd17ab5bf1a386cc4a05b17b (diff) |
Revert "Remove white spaces"
This reverts commit 6ab425e4f3d34b1467f694ada9a36eacfac9bf3c
Dependency revert for http://review.gluster.com/229
Change-Id: I7c4fcc45a6c25aedf4f06cbdeedc1fecbe424f45
Reviewed-on: http://review.gluster.com/250
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index ba19ed63e..b3d2946d7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -102,7 +102,7 @@ glusterd_listener_family_name(void) this = THIS; GF_ASSERT (this); conf = this->private; - GF_ASSERT (conf); + GF_ASSERT (conf); GF_ASSERT (conf->rpc); list_for_each_entry (listener, &conf->rpc->listeners, list) @@ -110,7 +110,7 @@ glusterd_listener_family_name(void) GF_ASSERT (listener->trans); - if (rpc_transport_get_myaddr(listener->trans, NULL, 0, + if (rpc_transport_get_myaddr(listener->trans, NULL, 0, &ss, sizeof(ss)) != 0) { gf_log ("glusterd", GF_LOG_ERROR, "rpc_transport_get_myname failed: %s", @@ -131,7 +131,7 @@ glusterd_listener_family_name(void) ss.ss_family); break; } - + return NULL; } @@ -1163,7 +1163,7 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo, if ((family_name = glusterd_listener_family_name()) != NULL) { runner_add_arg (&runner, "--xlator-option"); - runner_argprintf (&runner, + runner_argprintf (&runner, "%s-server.transport.address-family=%s", volinfo->volname, family_name); } |