ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/restart.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/restart.c (file contents):
Revision 588 by michael, Mon May 8 13:22:59 2006 UTC vs.
Revision 1011 by michael, Fri Sep 18 10:14:09 2009 UTC

# Line 23 | Line 23
23   */
24  
25   #include "stdinc.h"
26 < #include "tools.h"
26 > #include "list.h"
27   #include "restart.h"
28 #include "common.h"
28   #include "fdlist.h"
29   #include "ircd.h"
30   #include "irc_string.h"
# Line 39 | Line 38 | restart(const char *mesg)
38   {
39    static int was_here = 0; /* redundant due to restarting flag below */
40  
41 <  if (was_here)
41 >  if (was_here++)
42      abort();
44  was_here = 1;
43  
44 <  server_die(mesg, YES);
44 >  server_die(mesg, 1);
45   }
46  
47   void

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)