[core] fix config typo reading large int from str

master
Glenn Strauss 8 months ago
parent b1f7ccd750
commit d48947ffa0
  1. 2
      src/configfile-glue.c

@ -237,7 +237,7 @@ int config_plugin_values_init_block(server * const srv, const array * const ca,
char *e;
long l = strtol(v, &e, 10);
if (e != v && !*e && l >= 0) {
cpv->v.shrt = (unsigned int)l;
cpv->v.u = (unsigned int)l;
break;
}
}

Loading…
Cancel
Save