realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor directives.
authorTheodore Tso <tytso@mit.edu>
Fri, 24 Mar 1995 04:15:15 +0000 (04:15 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 24 Mar 1995 04:15:15 +0000 (04:15 +0000)
(Not portable).

hst_realm.c (krb5_get_host_realm): Don't indent preprocessor directives.
Removed excess close paren introduced by Keith.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5213 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/hst_realm.c
src/lib/krb5/os/realm_dom.c

index d8363b65a99c90bf9bc53bf71f044f0ab91c0a90..232701702776058dcf30877e1a0984b787eb98d8 100644 (file)
@@ -1,3 +1,12 @@
+Thu Mar 23 23:11:36 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor
+               directives.  (Not portable).
+
+       * hst_realm.c (krb5_get_host_realm): Don't indent preprocessor
+               directives.  Removed excess close paren introduced by
+               Keith.
+
 Wed Mar 22 18:59:47 1995 Keith Vetter (keithv@fusion.com)
 
         * hst_realm.c, realm_dom.c: windows DLL can't use fscanf so had
index b05f013c3e7e713561677615ca169975f2ac95c3..e43655f62aa94477be4d70724e31880dce06ee89 100644 (file)
@@ -186,12 +186,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
-            scanval = fscanf(trans_file, scanstring, trans_host, trans_realm));
-        #endif
+#else
+            scanval = fscanf(trans_file, scanstring, trans_host, trans_realm);
+#endif
        if (scanval != 2) {
            if (scanval == EOF) {
                fclose(trans_file);
@@ -230,6 +230,3 @@ krb5_get_host_realm(context, host, realmsp)
     *realmsp = retrealms;
     return 0;
 }
-
-
-
index be25e8d020eff816d6e34812364092188aea03f6..27907ac209338f986dc6068f24233eba228642c1 100644 (file)
@@ -132,12 +132,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
-            scanval = fscanf(trans_file, scanstring, trans_host, trans_realm));
-        #endif
+#else
+            scanval = fscanf(trans_file, scanstring, trans_host, trans_realm);
+#endif
        if (scanval != 2) {
            if (scanval == EOF) {
                fclose(trans_file);