giServer_Port = Config_GetValue_Int("server_port", 0);
gsItemListFile = Config_GetValue("items_file", 0);
- gbNoCostMode = Config_GetValue_Bool("test_mode", 0);
+ gbNoCostMode = (Config_GetValue_Bool("test_mode", 0) == 1);
signal(SIGINT, sigint_handler);
signal(SIGTERM, sigint_handler);
{
case 1200: baud = B1200; break;
case 9600: baud = B9600; break;
+ case 115200: baud = B115200; break;
default: close(fd); return -1;
}