1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 23:03:14 +02:00

# BUILD : 1.7.13 (1018) # BUGS : # NOTES : fixed winver var in init.c

git-svn-id: svn://svn.anope.org/anope/trunk@1018 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@743 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-03-22 17:16:49 +00:00
parent be0c17ea3e
commit c14bdc3d69
2 changed files with 6 additions and 5 deletions
+1 -4
View File
@@ -405,9 +405,6 @@ int openlog_failed = 0, openlog_errno = 0;
int init_primary(int ac, char **av)
{
int started_from_term = isatty(0) && isatty(1) && isatty(2);
#ifdef _WIN32
char *winver;
#endif
/* Set file creation mask and group ID. */
#if defined(DEFUMASK) && HAVE_UMASK
@@ -488,7 +485,7 @@ int init_secondary(int ac, char **av)
}
}
if (!SupportedWindowsVersion()) {
winver = GetWindowsVersion();
char *winver = GetWindowsVersion();
alog("%s is not a supported version of Windows", winver);
free(winver);
return -1;