summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-16 12:01:15 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-16 12:01:15 +1000
commita7ea546f1bec59b045a747f900be1ac67089329b (patch)
treed236a0553fa662dabb627aa81b96bbc317111c0b
parent03e66f650c63cac36adf26ba49500320d9d24b86 (diff)
- (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. No
code changes.
-rw-r--r--ChangeLog6
-rw-r--r--openbsd-compat/port-aix.c12
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index f28a8ff43..024e4f219 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120040616
2 - (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. No
3 code changes.
4
120040615 520040615
2 - (djm) OpenBSD CVS Sync 6 - (djm) OpenBSD CVS Sync
3 - djm@cvs.openbsd.org 2004/05/26 08:59:57 7 - djm@cvs.openbsd.org 2004/05/26 08:59:57
@@ -1222,4 +1226,4 @@
1222 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1226 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1223 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1227 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1224 1228
1225$Id: ChangeLog,v 1.3387 2004/06/15 05:47:51 djm Exp $ 1229$Id: ChangeLog,v 1.3388 2004/06/16 02:01:15 dtucker Exp $
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 2895f0d44..5ba6819de 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -133,12 +133,12 @@ sys_auth_passwd(Authctxt *ctxt, const char *password)
133 /* 133 /*
134 * Check if the user's password is expired. 134 * Check if the user's password is expired.
135 */ 135 */
136 expired = passwdexpired(name, &msg); 136 expired = passwdexpired(name, &msg);
137 if (msg && *msg) { 137 if (msg && *msg) {
138 buffer_append(&loginmsg, msg, strlen(msg)); 138 buffer_append(&loginmsg, msg, strlen(msg));
139 aix_remove_embedded_newlines(msg); 139 aix_remove_embedded_newlines(msg);
140 } 140 }
141 debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg); 141 debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg);
142 142
143 switch (expired) { 143 switch (expired) {
144 case 0: /* password not expired */ 144 case 0: /* password not expired */