X-Git-Url: http://git.maemo.org/git/?p=jenirok;a=blobdiff_plain;f=src%2Fcommon%2Fmobil1881.cpp;h=a51d29377f243994ec7861d2d20680c835ddd955;hp=69327b04b185e3696cd133b4dd4781aab137dd63;hb=40f8e10e1efc5019011df940328cdc734576143d;hpb=d93782e7a5ae0fc072d094fd645cf415a34a2244 diff --git a/src/common/mobil1881.cpp b/src/common/mobil1881.cpp index 69327b0..a51d293 100644 --- 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"; - qDebug() << "Headers: " << http_.lastResponse().toString(); + setError(CONNECTION_FAILURE, "Server returned no data"); + emitRequestFinished(searchData, true, index); + return; } if(data.indexOf("Last ned vCard") > 0)