summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2013-02-06 17:01:10 +0530
committerAnand Avati <avati@redhat.com>2013-02-06 13:02:47 -0800
commitc2953ea34c92f640cecf0f6575aa1acbdc5205b4 (patch)
tree85ad98cccefc15bdd06b67d792a699931f5701a4 /rpc/rpc-lib/src
parent6b292ff33fd842c77cd076e67b7f042d9f0cbedf (diff)
rpcsvc/dump: return correct return value
fix e8d09b9ab9 resulted in rpcsvc_dump returning large non-zero values to caller in case of success. This patch fixes that issue by returning 0 Change-Id: I594703dada74da17b33c98b073627a3378d170c5 BUG: 903113 Signed-off-by: Raghavendra G <raghavendra@gluster.com> Reviewed-on: http://review.gluster.org/4477 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src')
-rw-r--r--rpc/rpc-lib/src/rpcsvc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c
index 205ef1a9de8..7cb89db0946 100644
--- a/rpc/rpc-lib/src/rpcsvc.c
+++ b/rpc/rpc-lib/src/rpcsvc.c
@@ -1754,6 +1754,7 @@ sendrsp:
ret = RPCSVC_ACTOR_ERROR;
} else {
rpcsvc_submit_generic (req, &iov, 1, NULL, 0, NULL);
+ ret = 0;
}
free_prog_details (&rsp);