summaryrefslogtreecommitdiffstats
path: root/src/kim
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-09-26 20:49:23 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-09-26 20:49:23 +0000
commitb17febfe3cc33870741dffeea9e1a336088c6a7d (patch)
treebf234e030b80257b764892284241e684af2e87d0 /src/kim
parent3a8bcf9a7b3ec9a10557047b9ad0382edcc09299 (diff)
downloadkrb5-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.c3
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);