From 8c5a435714a6bdbadbf8838c8bb5df93fab79978 Mon Sep 17 00:00:00 2001
From: winlin <winlin@vip.126.com>
Date: Tue, 11 May 2021 19:04:43 +0800
Subject: [PATCH] Fix print bug in retrieve_local_ips. 4.0.107

---
 trunk/src/core/srs_core_version4.hpp       | 2 +-
 trunk/src/protocol/srs_service_utility.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/trunk/src/core/srs_core_version4.hpp b/trunk/src/core/srs_core_version4.hpp
index ac03a6dd1..e8f5529dc 100644
--- a/trunk/src/core/srs_core_version4.hpp
+++ b/trunk/src/core/srs_core_version4.hpp
@@ -26,6 +26,6 @@
 
 #define VERSION_MAJOR       4
 #define VERSION_MINOR       0
-#define VERSION_REVISION    106
+#define VERSION_REVISION    107
 
 #endif
diff --git a/trunk/src/protocol/srs_service_utility.cpp b/trunk/src/protocol/srs_service_utility.cpp
index 0069a64bc..49bcd4f75 100644
--- a/trunk/src/protocol/srs_service_utility.cpp
+++ b/trunk/src/protocol/srs_service_utility.cpp
@@ -290,8 +290,8 @@ void retrieve_local_ips()
         }
     }
     
-    srs_trace(ss0.str().c_str());
-    srs_trace(ss1.str().c_str());
+    srs_trace("%s", ss0.str().c_str());
+    srs_trace("%s", ss1.str().c_str());
     
     freeifaddrs(ifap);
 }