You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Move cvtDoubleToStr() to strNewDbl().
This is a more logical location and it reduces the dependencies required to compile the common/convert module.
This commit is contained in:
@ -130,8 +130,7 @@ cmdOption(void)
|
||||
else if (cfgParseOptionType(optionId) == cfgOptTypeTime)
|
||||
{
|
||||
valueList = strLstNew();
|
||||
strLstAdd(
|
||||
valueList, cvtDoubleToStr((double)cfgOptionIdxInt64(optionId, optionIdx) / MSEC_PER_SEC));
|
||||
strLstAdd(valueList, strNewDbl((double)cfgOptionIdxInt64(optionId, optionIdx) / MSEC_PER_SEC));
|
||||
}
|
||||
// Else only one value
|
||||
else
|
||||
|
Reference in New Issue
Block a user