From 8d696f317ef06e045de380d4408b814a3214ced7 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 3 Sep 2009 13:42:04 +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 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') { -- cgit