From 441cc7ee72b937f72c44009a723e26bea02a084c Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 31 Mar 1995 21:33:18 +0000 Subject: [PATCH] * realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's! * hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5326 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 6 ++++++ src/lib/krb5/os/hst_realm.c | 6 +++--- src/lib/krb5/os/realm_dom.c | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 3fb5d675d..0571ee818 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +Fri Mar 31 16:30:03 1995 Theodore Y. Ts'o (tytso@dcl) + + * realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's! + + * hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's! + Thu Mar 30 15:54:54 1995 Keith Vetter (keithv@fusion.com) * localaddr.c: in Windows/Mac code, fixed bug due to wrong level diff --git a/src/lib/krb5/os/hst_realm.c b/src/lib/krb5/os/hst_realm.c index 2c16267db..89156ee4b 100644 --- a/src/lib/krb5/os/hst_realm.c +++ b/src/lib/krb5/os/hst_realm.c @@ -187,12 +187,12 @@ krb5_get_host_realm(context, host, realmsp) (void) sprintf(scanstring, "%%%ds %%%ds", sizeof(trans_host)-1,sizeof(trans_realm)-1); while (1) { - #ifdef _WINDOWS +#ifdef _WINDOWS scanval = read_2str (trans_file, trans_host, sizeof(trans_host)-1, trans_realm, sizeof(trans_realm)-1); - #else +#else scanval = fscanf(trans_file, scanstring, trans_host, trans_realm); - #endif +#endif if (scanval != 2) { if (scanval == EOF) { fclose(trans_file); diff --git a/src/lib/krb5/os/realm_dom.c b/src/lib/krb5/os/realm_dom.c index 92563c1f7..5b4c071a9 100644 --- a/src/lib/krb5/os/realm_dom.c +++ b/src/lib/krb5/os/realm_dom.c @@ -133,12 +133,12 @@ krb5_get_realm_domain(context, realm, domain) (void) sprintf(scanstring, "%%%ds %%%ds", sizeof(trans_host)-1,sizeof(trans_realm)-1); while (1) { - #ifdef _WINDOWS +#ifdef _WINDOWS scanval = read_2str (trans_file, trans_host, sizeof(trans_host)-1, trans_realm, sizeof(trans_realm)-1); - #else +#else scanval = fscanf(trans_file, scanstring, trans_host, trans_realm); - #endif +#endif if (scanval != 2) { if (scanval == EOF) { fclose(trans_file); -- 2.26.2