A few more fixes. Part 3 of 2 I suppose.
This commit is contained in:
parent
16d76e8659
commit
0a2e2a35c8
|
@ -85,6 +85,7 @@ extern void chm_voice(struct Client *source_p, struct Channel *chptr,
|
||||||
extern unsigned int cflag_add(char c, ChannelModeFunc function);
|
extern unsigned int cflag_add(char c, ChannelModeFunc function);
|
||||||
extern void cflag_orphan(char c);
|
extern void cflag_orphan(char c);
|
||||||
extern void construct_cflags_strings(void);
|
extern void construct_cflags_strings(void);
|
||||||
|
extern void construct_cflag_param_string(void);
|
||||||
extern char cflagsbuf[256];
|
extern char cflagsbuf[256];
|
||||||
extern char cflagsmyinfo[256];
|
extern char cflagsmyinfo[256];
|
||||||
extern char cflagsparaminfo[256];
|
extern char cflagsparaminfo[256];
|
||||||
|
|
|
@ -167,7 +167,6 @@ static int
|
||||||
inetport(struct Listener *listener)
|
inetport(struct Listener *listener)
|
||||||
{
|
{
|
||||||
rb_fde_t *F;
|
rb_fde_t *F;
|
||||||
int ret;
|
|
||||||
int opt = 1;
|
int opt = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1932,7 +1932,7 @@ conf_call_set(struct TopConf *tc, char *item, conf_parm_t * value, int type)
|
||||||
|
|
||||||
/* if it takes one thing, make sure they only passed one thing,
|
/* if it takes one thing, make sure they only passed one thing,
|
||||||
and handle as needed. */
|
and handle as needed. */
|
||||||
if(value->type & CF_FLIST && !cf->cf_type & CF_FLIST)
|
if(value->type & CF_FLIST && !(cf->cf_type & CF_FLIST))
|
||||||
{
|
{
|
||||||
conf_report_error
|
conf_report_error
|
||||||
("Option %s::%s does not take a list of values.", tc->tc_name, item);
|
("Option %s::%s does not take a list of values.", tc->tc_name, item);
|
||||||
|
|
|
@ -1766,8 +1766,6 @@ yyerror(const char *msg)
|
||||||
int
|
int
|
||||||
conf_fgets(char *lbuf, int max_size, FILE * fb)
|
conf_fgets(char *lbuf, int max_size, FILE * fb)
|
||||||
{
|
{
|
||||||
char *buff;
|
|
||||||
|
|
||||||
if(fgets(lbuf, max_size, fb) == NULL)
|
if(fgets(lbuf, max_size, fb) == NULL)
|
||||||
return (0);
|
return (0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue