From 8f4119ce9a0b70de6380c1d032a4cb6e5b51787d Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 19 Aug 2007 06:04:34 +0000 Subject: * Fixed a deallocation mistake and some buffer overflows in npc_chat.c after doing rtfm@pcre.txt (all caused by incorrect usage of pcre api) * Removed underscores in npc_chat.c's variable names (easier to read) * Reindented the whole thing (used spaces half of the time ._.) * Moved npc pcre-data deallocation from npc_remove_map to npc_unload git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11036 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 01af03789..4ec216a3e 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -844,7 +844,7 @@ struct npc_data { int eventtimer[MAX_EVENTTIMER]; short arenaflag; - void *chatdb; + void* chatdb; // pointer to a npc_parse struct (see npc_chat.c) struct npc_data *master_nd; union { -- cgit v1.2.3-70-g09d2