[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Mon Oct 9 18:31:10 UTC 2017
New commits:
commit c303d87f7b2f146122ad87ae9eb0325779025327
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Mon Oct 9 14:30:19 2017 -0400
pluto: tidy add_xauth_addresspool and do_file_authentication
- format strings should not be broken across linees
- snprintf should usually be used in place of sprintf
- a variable's declaration and initialization should be combined if reasonable
- a variable's scope should be minimized
- eliminate a variable by inlining if that simplifies the program
- use auto over heap allocation where appropriate
- pointer parameters should point to consts if possible
- update some comments to match code
- spelling
- formatting
More information about the Swan-commit
mailing list