diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-10-09 01:05:08 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-10-09 01:05:08 +0000 |
commit | 967f87534243eda51db9fa6ad5871a78ece874c6 (patch) | |
tree | f0213724dec534b04b0bcb69b05f470e209fcad4 | |
parent | 0c82c0e62b33ef4c07a3ba7210062fd59c34b8b3 (diff) | |
download | krb5-967f87534243eda51db9fa6ad5871a78ece874c6.tar.gz krb5-967f87534243eda51db9fa6ad5871a78ece874c6.tar.xz krb5-967f87534243eda51db9fa6ad5871a78ece874c6.zip |
kim_options_copy should allow in_options to be KIM_OPTIONS_DEFAULT
(Don't error on NULL in_options)
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20848 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/kim/lib/kim_options.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/kim/lib/kim_options.c b/src/kim/lib/kim_options.c index 06c25ae88..08f1ddb6f 100644 --- a/src/kim/lib/kim_options.c +++ b/src/kim/lib/kim_options.c @@ -116,7 +116,6 @@ kim_error kim_options_copy (kim_options *out_options, kim_options options = KIM_OPTIONS_DEFAULT; if (!err && !out_options) { err = check_error (KIM_NULL_PARAMETER_ERR); } - if (!err && !in_options ) { err = check_error (KIM_NULL_PARAMETER_ERR); } if (!err && in_options != KIM_OPTIONS_DEFAULT) { err = kim_options_allocate (&options); |