Typo fixup
authorTheodore Tso <tytso@mit.edu>
Tue, 29 Sep 1992 14:02:17 +0000 (14:02 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 29 Sep 1992 14:02:17 +0000 (14:02 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2430 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/sn2princ.c

index 716b127ee8dac2b63aaa75473b25bdf4001e41e8..675e85605dd33f6b45c737c3bdd2200dd52d17ad 100644 (file)
@@ -81,7 +81,7 @@ OLDDECLARG(krb5_principal *,ret_princ)
     retval = krb5_build_principal(ret_princ, strlen(hrealms[0]), hrealms[0],
                                  sname, remote_host, (char *)0);
 
-    krb5_princ_type(principal) = KRB5_NT_SRV_HST;
+    krb5_princ_type(*ret_princ) = KRB5_NT_SRV_HST;
 
     free(remote_host);
     krb5_free_host_realm(hrealms);