summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-08 21:52:47 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-08 21:52:47 +1100
commit2e0cf0dca20e56eb5d95a80ba0004769c5bc4ba7 (patch)
treed03f7560b26c36b6afd48ffb962775b6424fee72 /session.c
parentb4d3012d2e9a0eb53c56565108c8278e45cefc77 (diff)
- (dtucker) [audit.c audit.h auth.c auth1.c auth2.c loginrec.c monitor.c
monitor_wrap.c monitor_wrap.h session.c sshd.c]: Prepend all of the audit defines and enums with SSH_ to prevent namespace collisions on some platforms (eg AIX).
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index b645144c5..a50bfcff7 100644
--- a/session.c
+++ b/session.c
@@ -665,7 +665,7 @@ do_exec(Session *s, const char *command)
665 debug("Forced command '%.900s'", command); 665 debug("Forced command '%.900s'", command);
666 } 666 }
667 667
668#ifdef AUDIT_EVENTS 668#ifdef SSH_AUDIT_EVENTS
669 if (command != NULL) 669 if (command != NULL)
670 PRIVSEP(audit_run_command(command)); 670 PRIVSEP(audit_run_command(command));
671 else if (s->ttyfd == -1) { 671 else if (s->ttyfd == -1) {
@@ -2333,8 +2333,8 @@ do_cleanup(Authctxt *authctxt)
2333 } 2333 }
2334#endif 2334#endif
2335 2335
2336#ifdef AUDIT_EVENTS 2336#ifdef SSH_AUDIT_EVENTS
2337 PRIVSEP(audit_event(CONNECTION_CLOSE)); 2337 PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
2338#endif 2338#endif
2339 2339
2340 /* remove agent socket */ 2340 /* remove agent socket */