summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-10-07 15:11:22 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-10-07 15:11:22 +0000
commit86f5463a30b1ec7bec886996e733e2b7acfe5a6b (patch)
tree6144e491cbb8e35cd4cc3483227e9481fa419a9c /src/main.c
parent3c17a07b8e22f32d66de64a92478496ed764dcc2 (diff)
BUILD : 1.7.15 (1165) BUGS : 603 NOTES : Added support for SVSMODE by parsing it as a MODE on supported IRCDs
git-svn-id: svn://svn.anope.org/anope/trunk@1165 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@887 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/main.c b/src/main.c
index 9bc364989..5bde61f91 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,7 +47,7 @@ int noexpire = 0; /* -noexpire */
int protocoldebug = 0; /* -protocoldebug */
#ifdef _WIN32
-char *binary_dir; /* Used to store base path for win32 restart */
+char *binary_dir; /* Used to store base path for win32 restart */
#endif
#ifdef USE_RDB
@@ -414,11 +414,11 @@ void sighandler(int signum)
break;
case -19:
snprintf(buf, sizeof(buf), "Sending event %s %s",
- EVENT_DB_SAVING, EVENT_START);
+ EVENT_DB_SAVING, EVENT_START);
break;
case -20:
snprintf(buf, sizeof(buf), "Sending event %s %s",
- EVENT_DB_SAVING, EVENT_STOP);
+ EVENT_DB_SAVING, EVENT_STOP);
break;
case -21:
snprintf(buf, sizeof(buf), "expiring nicknames");
@@ -443,11 +443,11 @@ void sighandler(int signum)
break;
case -30:
snprintf(buf, sizeof(buf), "Sending event %s %s",
- EVENT_DB_EXPIRE, EVENT_START);
+ EVENT_DB_EXPIRE, EVENT_START);
break;
case -31:
snprintf(buf, sizeof(buf), "Sending event %s %s",
- EVENT_DB_EXPIRE, EVENT_STOP);
+ EVENT_DB_EXPIRE, EVENT_STOP);
break;
default:
snprintf(buf, sizeof(buf), "waiting=%d", waiting);
@@ -656,10 +656,10 @@ int main(int ac, char **av, char **envp)
disconn(servsock);
close_log();
#ifdef _WIN32
- /* This fixes bug #589 - change to binary directory for restart */
- /* -- heinz */
- if (binary_dir)
- chdir(binary_dir);
+ /* This fixes bug #589 - change to binary directory for restart */
+ /* -- heinz */
+ if (binary_dir)
+ chdir(binary_dir);
#endif
execve(SERVICES_BIN, av, envp);
if (!readonly) {
@@ -679,7 +679,7 @@ int main(int ac, char **av, char **envp)
#ifdef _WIN32
if (binary_dir)
- free(binary_dir);
+ free(binary_dir);
#endif
return 0;