| 19 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
| 20 |
|
* USA |
| 21 |
|
* |
| 22 |
< |
* $Id: restart.c,v 7.32 2005/09/19 06:15:21 metalrock Exp $ |
| 22 |
> |
* $Id$ |
| 23 |
|
*/ |
| 24 |
|
|
| 25 |
|
#include "stdinc.h" |
| 26 |
– |
#include "tools.h" |
| 26 |
|
#include "restart.h" |
| 27 |
|
#include "common.h" |
| 29 |
– |
#include "fdlist.h" |
| 28 |
|
#include "ircd.h" |
| 31 |
– |
#include "irc_string.h" |
| 29 |
|
#include "send.h" |
| 33 |
– |
#include "s_log.h" |
| 30 |
|
#include "client.h" /* for UMODE_ALL */ |
| 35 |
– |
#include "memory.h" |
| 31 |
|
|
| 32 |
|
void |
| 33 |
|
restart(const char *mesg) |
| 85 |
|
else |
| 86 |
|
exit(0); |
| 87 |
|
} |
| 88 |
+ |
|
| 89 |
+ |
void |
| 90 |
+ |
ircd_outofmemory(void) |
| 91 |
+ |
{ |
| 92 |
+ |
restart("Out of memory"); |
| 93 |
+ |
} |