[776] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Re: patches for realm_expand_realm and ticket_retrieve

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Apr 19 14:13:00 1996

Date: Fri, 19 Apr 1996 14:12:45 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: "Derrick J. Brashear" <shadow@DEMENTIA.ORG>
Cc: bug-zephyr@MIT.EDU
In-Reply-To: "[771] in Zephyr_Bugs"

Okay, these are incorporated... one confusing part, though:

*** /afs/athena.mit.edu/astaff/project/zephyr/src/zephyr/server/realm.c	Mon
Apr  8 20:56:33 1996
--- ./realm.c	Tue Apr 16 14:02:35 1996
***************
*** 70,77 ****
--- 70,82 ----
                          return(krb_realm);
                  }
          }
+         if (!strncmp(my_realm, expand, strlen(expand))) {
+           return(my_realm);
          }
  
+         return(expand);
+ }
+ 
  Realmname *
  get_realm_lists(file)
      char *file;

Unless I'm missing something, this adds unreachable code.


home help back first fref pref prev next nref lref last post