summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-03 13:42:04 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-08 03:22:53 -0700
commit8d696f317ef06e045de380d4408b814a3214ced7 (patch)
tree0a5b7ea753864a3686892cc5ae7a5df8f3862e8c
parentea8a20f3e68d5ccade465b60d98030c0c1bb4426 (diff)
libglusterfsclient: handle failures in glusterfs_glh_realpath.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 235 (Handle failures in glusterfs_glh_realpath appropriately) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=235
-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 ee01ab19581..02328388d2a 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -6873,7 +6873,7 @@ glusterfs_glh_realpath (glusterfs_handle_t handle, const char *path,
FREE (tmppath);
}
- glusterfs_glh_realpath (handle, buf, rpath);
+ rpath = glusterfs_glh_realpath (handle, buf, rpath);
FREE (buf);
goto out;
} else if (!S_ISDIR (stbuf.st_mode) && *end != '\0') {