mirror of
https://github.com/fluencelabs/redis
synced 2025-07-31 16:31:58 +00:00
config.c: remove trailing spaces, trim comments to 80 cols.
This commit is contained in:
11
src/config.c
11
src/config.c
@@ -113,11 +113,10 @@ typedef struct boolConfigData {
|
||||
} boolConfigData;
|
||||
|
||||
typedef struct stringConfigData {
|
||||
char **config; /* The pointer to the server config this value is stored in */
|
||||
const char *default_value; /* The default value of the config on rewrite */
|
||||
int convert_empty_to_null; /* A boolean indicating if empty strings should
|
||||
char **config; /* Pointer to the server config this value is stored in. */
|
||||
const char *default_value; /* Default value of the config on rewrite. */
|
||||
int convert_empty_to_null; /* Boolean indicating if empty strings should
|
||||
be stored as a NULL value. */
|
||||
|
||||
} stringConfigData;
|
||||
|
||||
typedef struct enumConfigData {
|
||||
@@ -1874,8 +1873,7 @@ static char loadbuf[LOADBUF_SIZE];
|
||||
.rewrite = (rewritefn) \
|
||||
},
|
||||
|
||||
/*
|
||||
* What follows is the generic config types that are supported. To add a new
|
||||
/* What follows is the generic config types that are supported. To add a new
|
||||
* config with one of these types, add it to the standardConfig table with
|
||||
* the creation macro for each type.
|
||||
*
|
||||
@@ -1886,6 +1884,7 @@ static char loadbuf[LOADBUF_SIZE];
|
||||
* * A function defining how to rewrite this type on CONFIG REWRITE.
|
||||
* * A Macro defining how to create this type.
|
||||
*/
|
||||
|
||||
/* Bool Configs */
|
||||
static int boolConfigLoad(typeData data, sds *argv, int argc, char **err) {
|
||||
if (argc != 2) {
|
||||
|
Reference in New Issue
Block a user