projects
/
jenirok
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed search to retry automatically couple of times before failing.
[jenirok]
/
src
/
common
/
mobil1881.cpp
diff --git
a/src/common/mobil1881.cpp
b/src/common/mobil1881.cpp
index
69327b0
..
a51d293
100644
(file)
--- a/
src/common/mobil1881.cpp
+++ b/
src/common/mobil1881.cpp
@@
-109,7
+109,9
@@
void Mobil1881::addNumbers(SearchData* searchData,
if(data.isEmpty())
{
qDebug() << "Server returned no data";
if(data.isEmpty())
{
qDebug() << "Server returned no data";
- qDebug() << "Headers: " << http_.lastResponse().toString();
+ setError(CONNECTION_FAILURE, "Server returned no data");
+ emitRequestFinished(searchData, true, index);
+ return;
}
if(data.indexOf("<b>Last ned vCard</b>") > 0)
}
if(data.indexOf("<b>Last ned vCard</b>") > 0)