diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-09-01 00:25:05 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-08 03:23:33 -0700 |
commit | 7b3cad9869118386afd8b5f13ab2cff5d6190b7b (patch) | |
tree | 3d0e61c4f3abfb1e85e02cb1fbadadf0f99f2e1b /libglusterfsclient | |
parent | 1d47c41f048194cd754d97391b5c490446fe6fa2 (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
Diffstat (limited to 'libglusterfsclient')
-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 66300b26424..f3a7e3a0dec 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') { |