From 967f87534243eda51db9fa6ad5871a78ece874c6 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 9 Oct 2008 01:05:08 +0000 Subject: [PATCH] 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 --- src/kim/lib/kim_options.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.26.2