#include <sys/types.h>
#include <sys/stat.h>
-#include <netinet/in.h>
-
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#define WE_ARE_MEMORY_C
#include "stdinc.h"
#include "setup.h"
-#include "common.h"
#include "ircd_defs.h"
#include "defaults.h"
#include "client.h"
for (i = 0; ircd_times[i].name; i++)
{
- if (strcasecmp(ircd_times[i].name, name) == 0 ||
- (ircd_times[i].plural && strcasecmp(ircd_times[i].plural, name) == 0))
+ if (rb_strcasecmp(ircd_times[i].name, name) == 0 ||
+ (ircd_times[i].plural && rb_strcasecmp(ircd_times[i].plural, name) == 0))
return ircd_times[i].val;
}
for (i = 0; yesno[i].word; i++)
{
- if (strcasecmp(str, yesno[i].word) == 0)
+ if (rb_strcasecmp(str, yesno[i].word) == 0)
{
return yesno[i].yesno;
}
%union {
int number;
- char string[IRCD_BUFSIZE + 1];
+ char string[1024];
conf_parm_t * conf_parm;
}
{
add_cur_list(CF_INT, 0, i);
}
+
+ rb_free($1);
+ rb_free($3);
}
}
;
char *m_bn;
m_bn = rb_basename((char *) $2);
- if (findmodule_byname(m_bn) == -1)
+ if (findmodule_byname(m_bn) == NULL)
{
load_one_module($2, MAPI_ORIGIN_EXTENSION, 0);
}