pwEnsureValidConfig


 config = pwEnsureValidConfig(config)

 Checks a config struct and adds missing fields.
 Important if old configs are used within new
 PottersWheel versions.

 Without any input argument, the current config is checked.

 Without any output argument, the current config is overwritten.

See also

pwSetConfig
pwGetConfig