diff options
| author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-02-11 07:06:52 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-13 14:39:34 -0800 | 
| commit | 206b11705f36d4cc74d80465e77ecc9d74c69405 (patch) | |
| tree | e0377621764d0f0bfe247c93af3ea25d9ea4dfd0 | |
| parent | bee672e5f70b3c6712280130aeb61da0674add11 (diff) | |
initialize the cli_req structure before sending it to xdr
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2418 ([glusterfs-3.1.2qa7]: crash in glusterd)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2418
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index b1a7ea810..5888a2619 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1336,7 +1336,7 @@ glusterd_handle_gsync_set (rpcsvc_request_t *req)  {          int32_t                 ret     = 0;          dict_t                  *dict   = NULL; -        gf1_cli_gsync_set_req   cli_req;// = {0, }; +        gf1_cli_gsync_set_req   cli_req = {{0},};          GF_ASSERT (req);  | 
