nfs_normalize_path: don't strip trailing slash from "/"
authorArne Redlich <arne.redlich@googlemail.com>
Sun, 9 Mar 2014 20:55:42 +0000 (21:55 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 Mar 2014 23:58:32 +0000 (16:58 -0700)
commitd5f7880641c979b986f6c4d7b6502bd7e768a9ea
tree3ac82033f8956c86bcebe7816f4640ea8d05c91b
parentb6446650771c36a414f36b5417b3587579a807f4
nfs_normalize_path: don't strip trailing slash from "/"

Otherwise end up with a null string which is not permitted (RFC 1813, 3.2;
the code checks for it right after the now fixed nullification of "/").

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
lib/libnfs.c