403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/comms/telldus-core/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/telldus-core/files/patch-common-Strings.cpp
--- common/Strings.cpp.orig	2014-03-31 10:30:09 UTC
+++ common/Strings.cpp
@@ -61,11 +61,7 @@ std::wstring TelldusCore::charToWstring(
 	char *outString = reinterpret_cast<char*>(new wchar_t[utf8Length+1]);
 	memset(outString, 0, sizeof(wchar_t)*(utf8Length+1));
 
-#ifdef _FREEBSD
-	const char *inPointer = inString;
-#else
 	char *inPointer = inString;
-#endif
 	char *outPointer = outString;
 
 	iconv_t convDesc = iconv_open(WCHAR_T_ENCODING, "UTF-8");
@@ -206,11 +202,7 @@ std::string TelldusCore::wideToString(co
 	char *outString = new char[outbytesLeft];
 	memset(outString, 0, sizeof(*outString)*(outbytesLeft));
 
-#ifdef _FREEBSD
-	const char *inPointer = inString;
-#else
 	char *inPointer = inString;
-#endif
 	char *outPointer = outString;
 
 	iconv_t convDesc = iconv_open("UTF-8", WCHAR_T_ENCODING);

Youez - 2016 - github.com/yon3zu
LinuXploit