src/server/daemon/configmanager.c

changeset 86
49bb6c8ceb2b
parent 85
b62e77d8e80c
child 88
73b3485e96f1
equal deleted inserted replaced
85:b62e77d8e80c 86:49bb6c8ceb2b
124 } else { 124 } else {
125 printf("no reconfig required!\n"); 125 printf("no reconfig required!\n");
126 config = current_config; 126 config = current_config;
127 } 127 }
128 128
129 *set_cfg = config; 129 if(set_cfg) {
130 *set_cfg = config;
131 }
130 ServerConfiguration *old_conf = NULL; 132 ServerConfiguration *old_conf = NULL;
131 if(current_config != config) { 133 if(current_config != config) {
132 old_conf = current_config; 134 old_conf = current_config;
133 } 135 }
134 current_config = config; 136 current_config = config;

mercurial