Skip to content

Commit

Permalink
ticket: 5632
Browse files Browse the repository at this point in the history
Apply patch from Apple to handle missing krb5.conf for zeroconf
situations.



git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20509 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed Jul 10, 2008
1 parent f5f0da3 commit e369464
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/util/profile/prof_init.c
Expand Up @@ -34,8 +34,11 @@ profile_init(const_profile_filespec_t *files, profile_t *ret_profile)
memset(profile, 0, sizeof(struct _profile_t));
profile->magic = PROF_MAGIC_PROFILE;

/* if the filenames list is not specified return an empty profile */
if ( files ) {
/*
* If the filenames list is not specified or empty, return an empty
* profile.
*/
if ( files && !PROFILE_LAST_FILESPEC(*files) ) {
for (fs = files; !PROFILE_LAST_FILESPEC(*fs); fs++) {
retval = profile_open_file(*fs, &new_file);
/* if this file is missing, skip to the next */
Expand Down

0 comments on commit e369464

Please sign in to comment.