File: fix_hardcoded_studlycaps

package info (click to toggle)
qtss 3-3
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 1,052 kB
  • ctags: 12
  • sloc: sh: 223; makefile: 157
file content (11 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- qtss-3.orig/RhapServer/RTCPFlowControlModule.cpp
+++ qtss-3/RhapServer/RTCPFlowControlModule.cpp
@@ -60,7 +60,7 @@
 #endif
 
 	if ((fLogFile == NULL) && (RTSPServerInterface::GetRTSPPrefs()->IsFlowControlLogEnabled()))
-		fLogFile = ::fopen("StreamThinning.log", "a+");
+		fLogFile = ::fopen("/var/log/qtss/streamthinning.log", "a+");
 	else if ((fLogFile != NULL) && (!RTSPServerInterface::GetRTSPPrefs()->IsFlowControlLogEnabled()))
 	{
 		::fclose(fLogFile);