repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f893b68
)
Empty paths are no longer an error. Translate it to '.' instead.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 1 Feb 2014 16:03:12 +0000
(08:03 -0800)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 1 Feb 2014 16:03:12 +0000
(08:03 -0800)
lib/libnfs.c
patch
|
blob
|
blame
|
history
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));