version 1.7.2.1, 2000/11/08 21:30:55 |
version 1.7.2.2, 2001/03/12 15:44:11 |
|
|
#include "includes.h" |
#include "includes.h" |
RCSID("$OpenBSD$"); |
RCSID("$OpenBSD$"); |
|
|
#include "ssh.h" |
#include "log.h" |
#include "xmalloc.h" |
#include "xmalloc.h" |
|
|
/* Fatal messages. This function never returns. */ |
/* Fatal messages. This function never returns. */ |
|
|
} |
} |
} |
} |
fatal("fatal_remove_cleanup: no such cleanup function: 0x%lx 0x%lx\n", |
fatal("fatal_remove_cleanup: no such cleanup function: 0x%lx 0x%lx\n", |
(unsigned long) proc, (unsigned long) context); |
(u_long) proc, (u_long) context); |
} |
} |
|
|
/* Cleanup and exit */ |
/* Cleanup and exit */ |
|
|
for (cu = fatal_cleanups; cu; cu = next_cu) { |
for (cu = fatal_cleanups; cu; cu = next_cu) { |
next_cu = cu->next; |
next_cu = cu->next; |
debug("Calling cleanup 0x%lx(0x%lx)", |
debug("Calling cleanup 0x%lx(0x%lx)", |
(unsigned long) cu->proc, (unsigned long) cu->context); |
(u_long) cu->proc, (u_long) cu->context); |
(*cu->proc) (cu->context); |
(*cu->proc) (cu->context); |
} |
} |
exit(255); |
exit(255); |