1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

[PBCKP-247]: typo in the option_get_value function.

This commit is contained in:
Vyacheslav Makarov
2022-08-19 06:10:58 +03:00
committed by Sergey Fukanchik
parent 4c001e86f4
commit 7249b10be0
+1 -1
View File
@@ -689,7 +689,7 @@ option_get_value(ConfigOption *opt)
if (opt->type == 'i')
convert_from_base_unit(*((int32 *) opt->var),
opt->flags & OPTION_UNIT, &value, &unit);
else if (opt->type == 'i')
else if (opt->type == 'I')
convert_from_base_unit(*((int64 *) opt->var),
opt->flags & OPTION_UNIT, &value, &unit);
else if (opt->type == 'u')