repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Empty paths are no longer an error. Translate it to '.' instead.
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index d4ad029574a497b9dcc04fe80247ca01bce4b6cb..303615a247dbbbb67de010377fb4adee4803e6a0 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-1099,8
+1099,7
@@
static int nfs_lookuppath_async(struct nfs_context *nfs, const char *path, nfs_c
struct nfs_cb_data *data;
if (path[0] == '\0') {
- rpc_set_error(nfs->rpc, "Path is empty");
- return -1;
+ path = ".";
}
data = malloc(sizeof(struct nfs_cb_data));