From: Alexandra Ellwood Date: Fri, 26 Sep 2008 20:49:23 +0000 (+0000) Subject: kim_options_set_service_name should be able to take a service name of NULL X-Git-Tag: krb5-1.7-alpha1~410 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b17febfe3cc33870741dffeea9e1a336088c6a7d;p=krb5.git kim_options_set_service_name should be able to take a service name of NULL ticket: 6055 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20761 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kim/lib/kim_options.c b/src/kim/lib/kim_options.c index 102fa9644..84a77f6cd 100644 --- a/src/kim/lib/kim_options.c +++ b/src/kim/lib/kim_options.c @@ -382,8 +382,7 @@ kim_error kim_options_set_service_name (kim_options io_options, kim_error err = KIM_NO_ERROR; kim_string service_name = NULL; - if (!err && !io_options ) { err = check_error (KIM_NULL_PARAMETER_ERR); } - if (!err && !in_service_name) { err = check_error (KIM_NULL_PARAMETER_ERR); } + if (!err && !io_options) { err = check_error (KIM_NULL_PARAMETER_ERR); } if (!err && in_service_name) { err = kim_string_copy (&service_name, in_service_name);