Documentation cleanup and a statistics fix
This commit is contained in:
@ -41,12 +41,13 @@ static char *config_get_value(CONFIG_PARAMETER *, const char *);
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Config item handler
|
* Config item handler for the ini file reader
|
||||||
*
|
*
|
||||||
* @param userdata The config context element
|
* @param userdata The config context element
|
||||||
* @param secton The config file section
|
* @param section The config file section
|
||||||
* @param name The Parameter name
|
* @param name The Parameter name
|
||||||
* @param value The Parameter value
|
* @param value The Parameter value
|
||||||
|
* @return zero on error
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
handler(void *userdata, const char *section, const char *name, const char *value)
|
handler(void *userdata, const char *section, const char *name, const char *value)
|
||||||
|
|||||||
@ -154,6 +154,7 @@ GWPROTOCOL *funcs;
|
|||||||
free_dcb(dcb);
|
free_dcb(dcb);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
server->stats.n_connections++;
|
||||||
|
|
||||||
poll_add_dcb(dcb);
|
poll_add_dcb(dcb);
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -171,7 +171,7 @@ SERVER *ptr;
|
|||||||
* Convert a set of server status flags to a string, the returned
|
* Convert a set of server status flags to a string, the returned
|
||||||
* string has been malloc'd and must be free'd by the caller
|
* string has been malloc'd and must be free'd by the caller
|
||||||
*
|
*
|
||||||
* @param SERVER The server to return the status of
|
* @param server The server to return the status of
|
||||||
* @return A string representation of the status flags
|
* @return A string representation of the status flags
|
||||||
*/
|
*/
|
||||||
char *
|
char *
|
||||||
|
|||||||
Reference in New Issue
Block a user