浏览代码

mbedtls: remove unwanted \n in debug message

Jan Pohanka 4 年之前
父节点
当前提交
04ef520488
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mod_mbedtls.inl

+ 1 - 1
src/mod_mbedtls.inl

@@ -175,7 +175,7 @@ static void
 mbed_debug(void *context, int level, const char *file, int line, const char *str)
 {
     (void)level;
-    mbedtls_fprintf((FILE *)context, "file:%s line:%d str:%s\n", file, line, str);
+    mbedtls_fprintf((FILE *)context, "file:%s line:%d str:%s", file, line, str);
 }
 
 #endif /* USE_MBEDTLS */