Commit ef5186d9 authored by antirez's avatar antirez
Browse files

config.c: remove trailing spaces, trim comments to 80 cols.

parent a5e4c95c
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment