1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 04:23:13 +02:00

BUILD : 1.7.9 (783) BUGS : NOTES : Fixed most compiler warnings for the core (not modules) when using make strict

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@543 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-05-06 09:16:55 +00:00
parent ea554c0f00
commit 6825c4c6dc
7 changed files with 15 additions and 9 deletions
+1
View File
@@ -1,5 +1,6 @@
Anope Version S V N
-------------------
05/06 F Compiler warnings when using make strict. [ #00]
05/06 F Segfault in os_clearmodes when chan had invites (+I) set. [#357]
05/06 F Identified founders are now logged out if the channel is dropped. [#364]
05/06 F Founders identified by pass can get founder chanmode again. [#358]
+4
View File
@@ -445,6 +445,8 @@ E int CloneWarningDelay;
E int KillClones;
E int AddAkiller;
E int parse_directive(Directive * d, char *dir, int ac, char *av[MAXPARAMS], int linenum, int reload, char *s);
/**
* Modules Stuff
**/
@@ -673,6 +675,7 @@ E void pmodule_limit_mode(int mode);
E int anope_get_secret_mode();
E int anope_get_invite_mode();
E int anope_get_key_mode();
E int anope_get_limit_mode();
E int anope_get_private_mode();
E int anope_get_invis_mode();
@@ -830,6 +833,7 @@ E char *str_signed(unsigned char *str);
E void ntoa(struct in_addr addr, char *ipaddr, int len);
/**** modules.c ****/
E void modules_core_init(int number, char **list);
E void moduleCallBackRun(void);
E void moduleCleanStruct(ModuleData **moduleData);
-2
View File
@@ -138,8 +138,6 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
int16 cstatus = 0;
char *cmd;
UserData *ud;
int found = 0;
if (!u || !buf || !ci) {
return;
+2 -2
View File
@@ -804,7 +804,7 @@ int parse_directive(Directive * d, char *dir, int ac, char *av[MAXPARAMS],
int parse(char *buf, int linenum, int reload)
{
char *s, *t, *dir;
int i, n, optind, val;
int n;
int retval = 1;
int ac = 0;
char *av[MAXPARAMS];
@@ -858,7 +858,7 @@ int parse(char *buf, int linenum, int reload)
if (n == lenof(directives)) {
/* error(linenum, "Unknown directive `%s'", dir);
return 1; /* don't cause abort */
return 1; *//* don't cause abort */
}
return retval;
+1 -4
View File
@@ -1896,7 +1896,6 @@ void moduleDisplayHelp(int service, User * u)
{
#ifdef USE_MODULES
int idx;
int header_shown = 0;
ModuleHash *current = NULL;
Module *calling_module = mod_current_module;
char *calling_module_name = mod_current_module_name;
@@ -2300,12 +2299,10 @@ int moduleGetConfigDirective(Directive * d)
char *dir;
char buf[1024];
int linenum = 0;
int i;
int optind = 0;
int ac = 0;
char *av[MAXPARAMS];
char *s, *t;
int retval;
int retval = 1;
config = fopen(SERVICES_CONF, "r");
if (!config) {
+2
View File
@@ -84,7 +84,9 @@ SListOpts szopts = { 0, NULL, &is_szline_entry_equal, &free_szline_entry };
/*************************************************************************/
/* *INDENT-OFF* */
void moduleAddOperServCmds(void) {
#ifdef DEBUG_COMMANDS
Command *c;
#endif
modules_core_init(OperServCoreNumber, OperServCoreModules);
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="9"
VERSION_BUILD="782"
VERSION_BUILD="783"
# $Log$
#
# BUILD : 1.7.9 (783)
# BUGS :
# NOTES : Fixed most compiler warnings for the core (not modules) when using make strict
#
# BUILD : 1.7.9 (782)
# BUGS : 357
# NOTES : Fixed a segfault in os_clearmodes when clearing invites -- it used the exception list for the invite hosts, not the invite list, which is bad :)