- another round of build fixes
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2008 07:23:34 +0000 (07:23 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2008 07:23:34 +0000 (07:23 +0000)
        * platform/KURL.cpp:
        (WebCore::appendEncodedHostname): Fix spelling (strLen, not strlen).
        * platform/network/curl/ResourceHandleManager.cpp:
        (WebCore::parseDataUrl): Fix a ".." typo and call data instead of characters.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30250 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/KURL.cpp
WebCore/platform/network/curl/ResourceHandleManager.cpp

index 305845ce3640ca1a981c81a20df23ac3faf69825..a0b47c431029016652f02a17e71f0fcf29b9faf6 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-14  Darin Adler  <darin@apple.com>
+
+        - another round of build fixes
+
+        * platform/KURL.cpp:
+        (WebCore::appendEncodedHostname): Fix spelling (strLen, not strlen).
+        * platform/network/curl/ResourceHandleManager.cpp:
+        (WebCore::parseDataUrl): Fix a ".." typo and call data instead of characters.
+
 2008-02-14  Darin Adler  <darin@apple.com>
 
         - added back accidentally-removed files
index 091f51a9dc5c8b6e239a50ade091ba0c46092899..de37e72684a20a6f018c4621a7c5104c458a4207 100644 (file)
@@ -1333,7 +1333,7 @@ static void appendEncodedHostname(UCharBuffer& buffer, const UChar* str, unsigne
     if (error != U_ZERO_ERROR)
         buffer.append(hostnameBuffer, numCharactersConverted);
 #elif USE(QT4_UNICODE)
-    QByteArray result = QUrl::toAce(String(str, strlen));
+    QByteArray result = QUrl::toAce(String(str, strLen));
     buffer.append(result.constData(), result.length());
 #endif
 }
index d95a96f2e418db2bfe738f1994ba8dd45916a1a4..c2d9b1f29c8a55909bab7572adcc2aae5c38e2df 100644 (file)
@@ -494,7 +494,7 @@ static void parseDataUrl(ResourceHandle* handle)
         g_free(out);
 #else
         Vector<char> out;
-        if (base64Decode(data..latin1().data(), data.length(), out))
+        if (base64Decode(data.latin1().data(), data.length(), out))
             data = String(out.data(), out.size());
         else
             data = String();
@@ -516,7 +516,7 @@ static void parseDataUrl(ResourceHandle* handle)
     client->didReceiveResponse(handle, response);
 
     if (!data.isEmpty())
-        client->didReceiveData(handle, data.latin1().characters(), data.length(), 0);
+        client->didReceiveData(handle, data.latin1().data(), data.length(), 0);
 
     client->didFinishLoading(handle);
 }