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; |