repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimisations to the pdu queues
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index a237f601387efce3838a6eff6a668592fb968603..9053ab1884992ff7b01287d8c5ac655c90e4fc6e 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-994,7
+994,7
@@
static int nfs_normalize_path(struct nfs_context *nfs, char *path)
/* /$ -> \0 */
len = strlen(path);
- if (len >
=
1) {
+ if (len > 1) {
if (path[len - 1] == '/') {
path[len - 1] = '\0';
len--;