diff options
Diffstat (limited to 'src/ivybind.c')
-rw-r--r-- | src/ivybind.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ivybind.c b/src/ivybind.c index 656be62..9d95e92 100644 --- a/src/ivybind.c +++ b/src/ivybind.c @@ -15,7 +15,6 @@ * copyright notice regarding this software */ /* Module de gestion de la syntaxe des messages Ivy */ - #include <stdio.h> #include <sys/types.h> #include <time.h> @@ -24,6 +23,11 @@ #include <string.h> #include <stdarg.h> +#ifdef WIN32 +#include <crtdbg.h> +#endif + + #ifdef USE_PCRE_REGEX #define OVECSIZE 60 /* must be multiple of 3, for regexp return */ #include <pcre.h> @@ -274,7 +278,7 @@ void IvyBindingParseMessage( const char *msg ) { char *val = strtok( NULL, " ="); if ( arg && val ) - hash_add( msg_args_values, (HASHKEYTYPE)arg, val ); + hash_addstring( msg_args_values, arg, val ); } } int IvyBindingFilter(IvyBindingType typ, int len, const char *exp) |