Bug 1149872 - Add the missing format specifiers. r=jduell
authortheoneisneo <theoneisneo@gmail.com>
Thu, 02 Apr 2015 01:56:00 -0400
changeset 273454 b48f2db6a2bbfb972ad8c2639658d884532bc44c
parent 273453 ff5588b74fa4bf29ddff378efe9fd66b6d124339
child 273455 0d5e62c623f6f1a71531008696a16f22d56cbcdb
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell
bugs1149872
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1149872 - Add the missing format specifiers. r=jduell
intl/icu/source/common/uinvchar.c
netwerk/protocol/websocket/WebSocketChannel.cpp
--- a/intl/icu/source/common/uinvchar.c
+++ b/intl/icu/source/common/uinvchar.c
@@ -424,17 +424,17 @@ uprv_copyEbcdic(const UDataSwapper *ds,
     }
 
     /* setup and checking */
     s=(const uint8_t *)inData;
     count=length;
     while(count>0) {
         c=*s++;
         if(c!=0 && ((c=asciiFromEbcdic[c])==0 || !UCHAR_IS_INVARIANT(c))) {
-            udata_printError(ds, "uprv_copyEbcdic() string[%] contains a variant character in position %d\n",
+            udata_printError(ds, "uprv_copyEbcdic() string[%d] contains a variant character in position %d\n",
                              length, length-count);
             *pErrorCode=U_INVALID_CHAR_FOUND;
             return 0;
         }
         --count;
     }
 
     if(length>0 && inData!=outData) {
--- a/netwerk/protocol/websocket/WebSocketChannel.cpp
+++ b/netwerk/protocol/websocket/WebSocketChannel.cpp
@@ -2698,17 +2698,17 @@ WebSocketChannel::OnProxyAvailable(nsICa
   nsAutoCString type;
   if (NS_SUCCEEDED(status) && pi &&
       NS_SUCCEEDED(pi->GetType(type)) &&
       !type.EqualsLiteral("direct")) {
     LOG(("WebSocket OnProxyAvailable [%p] Proxy found skip DNS lookup\n", this));
     // call DNS callback directly without DNS resolver
     OnLookupComplete(nullptr, nullptr, NS_ERROR_FAILURE);
   } else {
-    LOG(("WebSocketChannel::OnProxyAvailable[%] checking DNS resolution\n", this));
+    LOG(("WebSocketChannel::OnProxyAvailable[%p] checking DNS resolution\n", this));
     nsresult rv = DoAdmissionDNS();
     if (NS_FAILED(rv)) {
       LOG(("WebSocket OnProxyAvailable [%p] DNS lookup failed\n", this));
       // call DNS callback directly without DNS resolver
       OnLookupComplete(nullptr, nullptr, NS_ERROR_FAILURE);
     }
   }