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/games/holotz-castle/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/holotz-castle/files/patch-JLib_JLib_Util_JTextFile.cpp
--- JLib/JLib/Util/JTextFile.cpp.orig	2009-05-02 09:17:15 UTC
+++ JLib/JLib/Util/JTextFile.cpp
@@ -145,7 +145,7 @@ bool JTextFile::FindNext(const s8 *str, 
   
   tmp = strstr(ptr, str);
 
-  if (tmp > 0)
+  if (tmp)
     ptr = tmp;
   else
   {
@@ -153,7 +153,7 @@ bool JTextFile::FindNext(const s8 *str, 
     {
       tmp = strstr(buff, str);
 
-      if (tmp > 0)
+      if (tmp)
         ptr = tmp;
       else
         return false;
@@ -233,7 +233,7 @@ bool JTextFile::ReadQuotedWord(s8 *str)
 	++ptr;
 	end = ptr;
 	
-	if (0 >= (end = strstr(ptr, "\"")))
+	if ((end = strstr(ptr, "\"")))
 	{
 		// No hay comillas de cierre
 		ptr = org;

Youez - 2016 - github.com/yon3zu
LinuXploit