Skip to content

Fix: stringToByteUnits Default

Created by: ax3l

If no unit is appended to, e.g. the maxbuffersize string, then the last two numbers are chopped and things are interpreted as bytes. For example, 1GiByte (std::to_string(1024*1024*1024)) became ~10MiByte.

This fixes it and assumes the user meant Bytes.

Merge request reports