From 7b3cad9869118386afd8b5f13ab2cff5d6190b7b Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 1 Sep 2009 00:25:05 +0000 Subject: libglusterfsclient: handle failures in glusterfs_glh_realpath Signed-off-by: Anand V. Avati BUG: 235 (Handle failures in glusterfs_glh_realpath appropriately) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=235 --- libglusterfsclient/src/libglusterfsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfsclient') diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index 66300b264..f3a7e3a0d 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -6879,7 +6879,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') { -- cgit