|
a/src/httpfs.cxx |
|
b/src/httpfs.cxx |
|
... |
|
... |
276 |
|
276 |
|
277 |
string reason;
|
277 |
string reason;
|
278 |
string icondata;
|
278 |
string icondata;
|
279 |
if (!iconpath.empty()) {
|
279 |
if (!iconpath.empty()) {
|
280 |
if (!file_to_string(iconpath, icondata, &reason)) {
|
280 |
if (!file_to_string(iconpath, icondata, &reason)) {
|
|
|
281 |
if (iconpath.compare("/usr/share/upmpdcli/icon.png")) {
|
281 |
LOGERR("Failed reading " << iconpath << " : " << reason << endl);
|
282 |
LOGERR("Failed reading " << iconpath << " : " << reason << endl);
|
|
|
283 |
} else {
|
|
|
284 |
LOGDEB("Failed reading " << iconpath << " : " << reason << endl);
|
|
|
285 |
}
|
282 |
}
|
286 |
}
|
283 |
}
|
287 |
}
|
284 |
string presentationdata;
|
288 |
string presentationdata;
|
285 |
if (!presentationhtml.empty()) {
|
289 |
if (!presentationhtml.empty()) {
|
286 |
if (!file_to_string(presentationhtml, presentationdata, &reason)) {
|
290 |
if (!file_to_string(presentationhtml, presentationdata, &reason)) {
|