From: Alexandra Ellwood Date: Thu, 9 Oct 2008 01:05:08 +0000 (+0000) Subject: kim_options_copy should allow in_options to be KIM_OPTIONS_DEFAULT X-Git-Tag: krb5-1.7-alpha1~328 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=967f87534243eda51db9fa6ad5871a78ece874c6;p=krb5.git 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 --- 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);