Bug 1519387 - Follow-up: Add forgotten % in format specifier. rs=bustage-fix DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sat, 12 Jan 2019 00:16:45 +0100
changeset 33315 95215e0170b6
parent 33314 bb6728bfe435
child 33316 37983d049d22
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1519387
Bug 1519387 - Follow-up: Add forgotten % in format specifier. rs=bustage-fix DONTBUILD
mailnews/imap/src/nsImapProtocol.cpp
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -1867,17 +1867,17 @@ bool nsImapProtocol::ProcessCurrentURL()
   if (imapMailFolderSink)
   {
     if (copyState)
     {
       rv = imapMailFolderSink->CopyNextStreamMessage(GetServerStateParser().LastCommandSuccessful() &&
                                                 NS_SUCCEEDED(GetConnectionStatus()),
                                                 copyState);
       if (NS_FAILED(rv))
-        MOZ_LOG(IMAP, LogLevel::Info, ("CopyNextStreamMessage failed: %" PRIx32 "\n", static_cast<uint32_t>(rv)));
+        MOZ_LOG(IMAP, LogLevel::Info, ("CopyNextStreamMessage failed: %" PRIx32, static_cast<uint32_t>(rv)));
 
       NS_ReleaseOnMainThreadSystemGroup("nsImapProtocol, copyState", copyState.forget());
     }
     // we might need this to stick around for IDLE support
     m_imapMailFolderSink = imapMailFolderSink;
     imapMailFolderSink = nullptr;
   }
   else
@@ -9750,17 +9750,17 @@ nsresult nsImapMockChannel::ReadFromMemC
   } // if content is not modified
   else
   {
     // Content is modified so return an error so we try to open it the
     // old fashioned way.
     MOZ_LOG(IMAPCache, LogLevel::Debug, ("ReadFromMemCache(): Cache entry rejected"));
     rv = NS_ERROR_FAILURE;
   }
-  MOZ_LOG(IMAPCache, LogLevel::Debug, ("ReadFromMemCache(): Returning " PRIx32, static_cast<uint32_t>(rv)));
+  MOZ_LOG(IMAPCache, LogLevel::Debug, ("ReadFromMemCache(): Returning %" PRIx32, static_cast<uint32_t>(rv)));
   return rv;
 }
 
 class nsReadFromImapConnectionFailure : public mozilla::Runnable
 {
 public:
   explicit nsReadFromImapConnectionFailure(nsImapMockChannel *aChannel)
     : mozilla::Runnable("nsReadFromImapConnectionFailure")