summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 18:52:37 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 18:52:37 +0000
commit854156dd39acbde9b4a47ec0fc54a042ea7358e0 (patch)
tree96755f8590acc2146f4b4ef5b5cdba600e5d9353 /session.c
parentfad82e8999e790899083f9e22a1841148d746df6 (diff)
parent053db7da5ce09acdf742789d9d1a05e81d4861d0 (diff)
Import OpenSSH 3.6.1p2.
Diffstat (limited to 'session.c')
-rw-r--r--session.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/session.c b/session.c
index 9e1dd914a..c75fea966 100644
--- a/session.c
+++ b/session.c
@@ -412,7 +412,7 @@ do_authenticated1(Authctxt *authctxt)
412 * Any unknown messages in this phase are ignored, 412 * Any unknown messages in this phase are ignored,
413 * and a failure message is returned. 413 * and a failure message is returned.
414 */ 414 */
415 logit("Unknown packet type received after authentication: %d", type); 415 log("Unknown packet type received after authentication: %d", type);
416 } 416 }
417 packet_start(success ? SSH_SMSG_SUCCESS : SSH_SMSG_FAILURE); 417 packet_start(success ? SSH_SMSG_SUCCESS : SSH_SMSG_FAILURE);
418 packet_send(); 418 packet_send();
@@ -1192,7 +1192,7 @@ do_nologin(struct passwd *pw)
1192#endif 1192#endif
1193 if (f) { 1193 if (f) {
1194 /* /etc/nologin exists. Print its contents and exit. */ 1194 /* /etc/nologin exists. Print its contents and exit. */
1195 logit("User %.100s not allowed because %s exists", 1195 log("User %.100s not allowed because %s exists",
1196 pw->pw_name, _PATH_NOLOGIN); 1196 pw->pw_name, _PATH_NOLOGIN);
1197 while (fgets(buf, sizeof(buf), f)) 1197 while (fgets(buf, sizeof(buf), f))
1198 fputs(buf, stderr); 1198 fputs(buf, stderr);
@@ -1672,7 +1672,7 @@ session_subsystem_req(Session *s)
1672 int i; 1672 int i;
1673 1673
1674 packet_check_eom(); 1674 packet_check_eom();
1675 logit("subsystem request for %.100s", subsys); 1675 log("subsystem request for %.100s", subsys);
1676 1676
1677 for (i = 0; i < options.num_subsystems; i++) { 1677 for (i = 0; i < options.num_subsystems; i++) {
1678 if (strcmp(subsys, options.subsystem_name[i]) == 0) { 1678 if (strcmp(subsys, options.subsystem_name[i]) == 0) {
@@ -1691,7 +1691,7 @@ session_subsystem_req(Session *s)
1691 } 1691 }
1692 1692
1693 if (!success) 1693 if (!success)
1694 logit("subsystem request for %.100s failed, subsystem not found", 1694 log("subsystem request for %.100s failed, subsystem not found",
1695 subsys); 1695 subsys);
1696 1696
1697 xfree(subsys); 1697 xfree(subsys);
@@ -1762,7 +1762,7 @@ session_input_channel_req(Channel *c, const char *rtype)
1762 Session *s; 1762 Session *s;
1763 1763
1764 if ((s = session_by_channel(c->self)) == NULL) { 1764 if ((s = session_by_channel(c->self)) == NULL) {
1765 logit("session_input_channel_req: no session %d req %.100s", 1765 log("session_input_channel_req: no session %d req %.100s",
1766 c->self, rtype); 1766 c->self, rtype);
1767 return 0; 1767 return 0;
1768 } 1768 }