summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-12-05 16:35:14 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-06 02:30:06 -0800
commitb5da78348291435b2f711018c529c83dc824cff8 (patch)
treefc14d5e5dd662c31a2012a5caa51a1897557382c /libglusterfsclient/src
parent05140d5f3c84cde0f0a568a6deb000bb906174b2 (diff)
libglusterfsclient/chdir: assign op_ret the return value of libgf_client_chdir.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 446 (apache does not start in daemon mode on fedora core 11.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=446
Diffstat (limited to 'libglusterfsclient/src')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index 9f8a8a15e..f90de48c3 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -7919,7 +7919,7 @@ glusterfs_chdir (const char *path)
}
if ((handle == NULL) || (op_ret == 0)) {
- libgf_client_chdir (path);
+ op_ret = libgf_client_chdir (path);
}
out: