瀏覽代碼

Merge pull request #1978 from richardkchapman/build-break-httptransport

Build break httptransport

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 年之前
父節點
當前提交
f18735d48c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      esp/bindings/http/platform/httptransport.cpp

+ 1 - 1
esp/bindings/http/platform/httptransport.cpp

@@ -872,7 +872,7 @@ void CHttpMessage::logMessage(MessageLogFlag messageLogFlag, const char *prefix)
         else if(!isTextMessage())
             DBGLOG("%s<non-text content or content type not specified>", prefix);
         else if ((m_content_type.length() > 0) && (strieq(m_content_type, "text/css") || strieq(m_content_type, "text/javascript")))
-            DBGLOG("%s<content_type: %s>", prefix, m_content_type);
+            DBGLOG("%s<content_type: %s>", prefix, m_content_type.get());
         else
             logMessage(m_content.str(), prefix);
     }