remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2003 Kungliga Tekniska Högskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. Neither the name of KTH nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
@@ -49,17 +49,17 @@ check_config_file(krb5_context context, char *filelist, char **res, int def)
|
||||
ret = krb5_prepend_config_files_default(filelist, &pp);
|
||||
else
|
||||
ret = krb5_prepend_config_files(filelist, NULL, &pp);
|
||||
|
||||
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "prepend_config_files");
|
||||
|
||||
|
||||
for (i = 0; res[i] && pp[i]; i++)
|
||||
if (strcmp(pp[i], res[i]) != 0)
|
||||
krb5_errx(context, 1, "'%s' != '%s'", pp[i], res[i]);
|
||||
|
||||
|
||||
if (res[i] != NULL)
|
||||
krb5_errx(context, 1, "pp ended before res list");
|
||||
|
||||
|
||||
if (def) {
|
||||
char **deflist;
|
||||
int j;
|
||||
@@ -76,12 +76,12 @@ check_config_file(krb5_context context, char *filelist, char **res, int def)
|
||||
krb5_errx(context, 1, "pp ended before def list");
|
||||
krb5_free_config_files(deflist);
|
||||
}
|
||||
|
||||
|
||||
if (pp[i] != NULL)
|
||||
krb5_errx(context, 1, "pp ended after res (and def) list");
|
||||
|
||||
|
||||
krb5_free_config_files(pp);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user