summaryrefslogtreecommitdiff
path: root/src/configfile-glue.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-04-16 12:55:13 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2022-05-05 13:35:18 -0400
commitd48947ffa0dbf706076632fb8b894863dce54bab (patch)
treeb0373ae7194fef25bcb332215a68f4181b8cd926 /src/configfile-glue.c
parentb1f7ccd75094c93d11199a6b3080452a64e4d3ea (diff)
downloadlighttpd-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.c2
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;
}
}