need an error if unknown
authorJohn Kohl <jtkohl@mit.edu>
Fri, 27 Apr 1990 17:16:12 +0000 (17:16 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 27 Apr 1990 17:16:12 +0000 (17:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@625 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/get_krbhst.c

index c5cd529d57ba92a94d63a991af676e8ce317d9ab..c04b9488364d4bfa66e5a7c6f13410ec1bbc76d9 100644 (file)
@@ -134,6 +134,7 @@ char ***hostlist;
     if (hlindex == 0) {
        free((char *)rethlist);
        rethlist = 0;
+       retval = KRB5_REALM_UNKNOWN;
     }
     *hostlist = rethlist;