Line 0
Link Here
|
|
|
1 |
--- ./src/Sync/DownloadOSM.cpp.orig 2011-06-28 02:32:00.000000000 +0200 |
2 |
+++ ./src/Sync/DownloadOSM.cpp 2011-06-28 02:33:10.000000000 +0200 |
3 |
@@ -252,7 +252,7 @@ |
4 |
|
5 |
QString sReq = url.toString(QUrl::RemoveScheme | QUrl::RemoveAuthority); |
6 |
QHttpRequestHeader Header(Method,sReq); |
7 |
- Header.setValue("Host",url.host()+':'+url.port(80)); |
8 |
+ Header.setValue("Host",url.host()+':'+QString::number(url.port(80))); |
9 |
Header.setValue("User-Agent", USER_AGENT); |
10 |
|
11 |
QString auth = QString("%1:%2").arg(User).arg(Password); |