Reviewed by Anders.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Nov 2006 00:30:21 +0000 (00:30 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Nov 2006 00:30:21 +0000 (00:30 +0000)
        - fixed "Regression: Can't log into gmail.com"
        - fixed "iBench doesn't report results - tests run but no number is recorded"

        * platform/network/cf/FormDataStreamCFNet.cpp:
        (WebCore::setHTTPBody): Removed extra ! character.

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

WebCore/ChangeLog
WebCore/platform/network/cf/FormDataStreamCFNet.cpp

index f0a88f386aed4e87a0895ff0c0306d15d96a0919..f57b170773ce434cbf5c57bad4034f62305d5f05 100644 (file)
@@ -1,3 +1,13 @@
+2006-11-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Anders.
+
+        - fixed "Regression: Can't log into gmail.com"
+        - fixed "iBench doesn't report results - tests run but no number is recorded"
+        
+        * platform/network/cf/FormDataStreamCFNet.cpp:
+        (WebCore::setHTTPBody): Removed extra ! character.
+
 2006-11-09  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Hyatt.
 2006-11-09  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Hyatt.
index 35e0f823ea25dda15314b0faf7ac0000d764e14a..cdc5e049fea741cc67a3c43d46a6e6bee22e55e1 100644 (file)
@@ -311,7 +311,7 @@ void setHTTPBody(CFMutableURLRequestRef request, const FormData& formData)
 {
     size_t count = formData.elements().size();
 
 {
     size_t count = formData.elements().size();
 
-    if (!count == 0)
+    if (count == 0)
         return;
 
     // Handle the common special case of one piece of form data, with no files.
         return;
 
     // Handle the common special case of one piece of form data, with no files.