- Added some new refused_* variables that note if certain options
authorWayne Davison <wayned@samba.org>
Fri, 11 Feb 2005 10:42:55 +0000 (10:42 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 11 Feb 2005 10:42:55 +0000 (10:42 +0000)
commit3671987f4d7834dc51a6113b3d012475381e4a93
tree70139571a758f9ec710e3200d403d5b023da1605
parent5aa7b20a3e89d5b4d4095f669dc608d0317044ee
- Added some new refused_* variables that note if certain options
  have been refused on the server daemon.  This allows us to reject
  implied options (e.g. if --partial is refused and -P specified).
- Changed the handling of the --delete refusals from the old idiom
  of upgrading "delete" to "delete*" into the new idiom of checking
  if refused_delete is set when we determine --delete was implied.
- Changed the --del option from a popt alias into a normal option.
- Mark all the daemon options as refused when a daemon is parsing
  the over-the-socket options.
- Created a new function, create_refuse_error(), which is now called
  from all the spots that check for refused options.
- Don't call clean_fname() on an empty string -- either reject it
  or handle it without erroneously expanding the string.
- If --delay-updates was specified without a --partial-dir option,
  don't send the default "--partial-dir=.~tmp~" option if the server
  is the receiver -- just let it default.
options.c