A couple fixes in add_rule() for XFLG_ABS_IF_SLASH:
authorWayne Davison <wayned@samba.org>
Sat, 22 Mar 2008 19:30:43 +0000 (12:30 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 22 Mar 2008 19:30:43 +0000 (12:30 -0700)
- Remove the trailing slash earlier, so that it doesn't
  affect the XFLG_ABS_IF_SLASH check.
- Count the slashes earlier so that the XFLG_ABS_IF_SLASH
  can use it instead of using a strchr() all that could
  scan past the end of the input.


No differences found