|
a/src/httpfs.cxx |
|
b/src/httpfs.cxx |
|
... |
|
... |
198 |
string protofile(path_cat(datadir, "protocolinfo.txt"));
|
198 |
string protofile(path_cat(datadir, "protocolinfo.txt"));
|
199 |
if (!read_protocolinfo(protofile, g_protocolInfo)) {
|
199 |
if (!read_protocolinfo(protofile, g_protocolInfo)) {
|
200 |
LOGFAT("Failed reading protocol info from " << protofile << endl);
|
200 |
LOGFAT("Failed reading protocol info from " << protofile << endl);
|
201 |
return false;
|
201 |
return false;
|
202 |
}
|
202 |
}
|
|
|
203 |
protocolInfoToFormats(g_protocolInfo, g_supportedFormats);
|
203 |
|
204 |
|
204 |
string reason;
|
205 |
string reason;
|
205 |
string icondata;
|
206 |
string icondata;
|
206 |
if (!iconpath.empty()) {
|
207 |
if (!iconpath.empty()) {
|
207 |
if (!file_to_string(iconpath, icondata, &reason)) {
|
208 |
if (!file_to_string(iconpath, icondata, &reason)) {
|