mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 04:19:39 +00:00
Configure bug fix
This commit is contained in:
1 parent
37d47c1ac6
commit
cf86b39848
1 file changed
+3
-3
@@ -290,10 +290,10 @@ bool CConfigure::ReadData(const std::string &path)
|
||||
break;
|
||||
case ESection::tc:
|
||||
if (0 == key.compare(JPORT))
|
||||
data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 0, 40000, 10100);
|
||||
else if (key.compare(JBINDINGADDRESS))
|
||||
data[g_Keys.tc.port] = getUnsigned(value, "Transcoder Port", 1024, 40000, 10100);
|
||||
else if (0 == key.compare(JBINDINGADDRESS))
|
||||
data[g_Keys.tc.bind] = value;
|
||||
else if (key.compare(JMODULES))
|
||||
else if (0 == key.compare(JMODULES))
|
||||
{
|
||||
std::string m(value);
|
||||
if (checkModules(m))
|
||||
|
||||
Reference in new issue
Block a user