|
a/src/httpfs.cxx |
|
b/src/httpfs.cxx |
|
... |
|
... |
300 |
|
300 |
|
301 |
if (enableOH) {
|
301 |
if (enableOH) {
|
302 |
if (enableReceiver) {
|
302 |
if (enableReceiver) {
|
303 |
ohDesc += ohDescReceive;
|
303 |
ohDesc += ohDescReceive;
|
304 |
}
|
304 |
}
|
305 |
bool lumincompat = configBool(g_config, "lumincompat");
|
|
|
306 |
if (!lumincompat) {
|
305 |
if (!g_lumincompat) {
|
307 |
ohDesc += ohDescCreds;
|
306 |
ohDesc += ohDescCreds;
|
308 |
}
|
307 |
}
|
309 |
data = regsub1("@OPENHOME@", data, ohDesc);
|
308 |
data = regsub1("@OPENHOME@", data, ohDesc);
|
310 |
// See comment about ohproduct version in upmpd.cxx
|
309 |
// See comment about ohproduct version in upmpd.cxx
|
311 |
if (lumincompat) {
|
310 |
if (g_lumincompat) {
|
312 |
data = regsub1("Product:2", data, "Product:1");
|
311 |
data = regsub1("Product:2", data, "Product:1");
|
313 |
}
|
312 |
}
|
314 |
} else {
|
313 |
} else {
|
315 |
data = regsub1("@OPENHOME@", data, "");
|
314 |
data = regsub1("@OPENHOME@", data, "");
|
316 |
}
|
315 |
}
|