|
a/src/ohcredentials.cxx |
|
b/src/ohcredentials.cxx |
|
... |
|
... |
75 |
}
|
75 |
}
|
76 |
|
76 |
|
77 |
// Possibly retrieve the IP port used by our proxy server
|
77 |
// Possibly retrieve the IP port used by our proxy server
|
78 |
static string sport;
|
78 |
static string sport;
|
79 |
if (sport.empty()) {
|
79 |
if (sport.empty()) {
|
80 |
std::unique_lock<std::mutex>(g_configlock);
|
|
|
81 |
int port = CDPluginServices::default_microhttpport();
|
80 |
int port = CDPluginServices::default_microhttpport();
|
82 |
if (!g_config->get("plgmicrohttpport", sport)) {
|
81 |
if (!g_config->get("plgmicrohttpport", sport)) {
|
83 |
sport = SoapHelp::i2s(port);
|
82 |
sport = SoapHelp::i2s(port);
|
84 |
}
|
83 |
}
|
85 |
}
|
84 |
}
|