- Call sanitize_path() with updated args.
authorWayne Davison <wayned@samba.org>
Wed, 11 Aug 2004 23:41:06 +0000 (23:41 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 11 Aug 2004 23:41:06 +0000 (23:41 +0000)
commit1d6b8f9ad296f06505b06a941df5cbe38c540e72
tree8f8b2bf77e218876a868e0209e280e45d64b8499
parent10796f4b6e52593c64ace935357d8782cb57d4ee
- Call sanitize_path() with updated args.
- Added count_dir_elements() function.
- Changed the args for sanitize_path() so that the caller can request
  the value for the rootdir and so that the caller tells us the current
  subdir depth instead of sending us a string that we have to figure it
  out from.
- Make sure that sanitize_path() doesn't mis-parse multiple adjacent
  slashes.
util.c