diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2011-08-17 06:19:05 +0200 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-08-16 21:38:32 -0700 |
commit | 12895212d64e2f209190f389a92be7f5e67ec84e (patch) | |
tree | 352d1b31b362f0aa6c862455e7c08f2cea57c9ac /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 02f45250af3fcb58a309e4089b64e2b147b1b265 (diff) |
Remove white spaces
Change-Id: I646c0c8e70268de6a20bb23dc3834ac6f5d2bbf2
BUG: 3422
Reviewed-on: http://review.gluster.com/245
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 b3d2946d7f5..ba19ed63e31 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); } |