(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
+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
(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);
*realmsp = retrealms;
return 0;
}
-
-
-
(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);