error(0, "'nice_speaker' cannot be changed without a restart");
/* ...but we accept the new config anyway */
}
+ if(c->nice_server != oldconfig->nice_server) {
+ error(0, "'nice_server' cannot be changed without a restart");
+ /* ...but we accept the new config anyway */
+ }
if(namepartlist_compare(&c->namepart, &oldconfig->namepart)) {
error(0, "'namepart' settings cannot be changed without a restart");
failed = 1;
static int stringlist_compare(const struct stringlist *a,
const struct stringlist *b) {
- int n, c;
+ int n = 0, c;
while(n < a->n && n < b->n) {
if((c = strcmp(a->s[n], b->s[n])))
static int namepartlist_compare(const struct namepartlist *a,
const struct namepartlist *b) {
- int n, c;
+ int n = 0, c;
while(n < a->n && n < b->n) {
if((c = namepart_compare(&a->s[n], &b->s[n])))