diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-04-16 12:55:13 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-05-05 13:35:18 -0400 |
commit | d48947ffa0dbf706076632fb8b894863dce54bab (patch) | |
tree | b0373ae7194fef25bcb332215a68f4181b8cd926 /src/configfile-glue.c | |
parent | b1f7ccd75094c93d11199a6b3080452a64e4d3ea (diff) | |
download | lighttpd-git-d48947ffa0dbf706076632fb8b894863dce54bab.tar.gz |
[core] fix config typo reading large int from str
Diffstat (limited to 'src/configfile-glue.c')
-rw-r--r-- | src/configfile-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configfile-glue.c b/src/configfile-glue.c index a11a4b71..4b2d8c15 100644 --- a/src/configfile-glue.c +++ b/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; } } |