diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-12-05 16:35:14 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-06 02:30:06 -0800 |
commit | b5da78348291435b2f711018c529c83dc824cff8 (patch) | |
tree | fc14d5e5dd662c31a2012a5caa51a1897557382c /libglusterfsclient/src | |
parent | 05140d5f3c84cde0f0a568a6deb000bb906174b2 (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-x | libglusterfsclient/src/libglusterfsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index 9f8a8a15e8e..f90de48c3ad 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: |