diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-09-26 20:49:23 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-09-26 20:49:23 +0000 |
commit | b17febfe3cc33870741dffeea9e1a336088c6a7d (patch) | |
tree | bf234e030b80257b764892284241e684af2e87d0 /src/kim | |
parent | 3a8bcf9a7b3ec9a10557047b9ad0382edcc09299 (diff) | |
download | krb5-b17febfe3cc33870741dffeea9e1a336088c6a7d.tar.gz krb5-b17febfe3cc33870741dffeea9e1a336088c6a7d.tar.xz krb5-b17febfe3cc33870741dffeea9e1a336088c6a7d.zip |
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
Diffstat (limited to 'src/kim')
-rw-r--r-- | src/kim/lib/kim_options.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |