Code Duplication    Length = 1-1 lines in 2 locations

doc/rpm-build/checkout-build-archives.php 1 location

@@ 497-497 (lines=1) @@
494
	}
495
	curl_setopt($c, CURLOPT_URL, $url);
496
497
	if (is_string($data)) $short_data = strlen($data) > 100 ? substr($data, 0, 100).' ...' : $data;
498
	if ($verbose) echo "Sending $method request to $url ".(isset($short_data)&&$method!='GET'?$short_data:'')."\n";
499
500
	if (($response = curl_exec($c)) === false)

install-cli.php 1 location

@@ 303-303 (lines=1) @@
300
	}
301
	curl_setopt($c, CURLOPT_URL, $url);
302
303
	if (is_string($data)) $short_data = strlen($data) > 100 ? substr($data, 0, 100).' ...' : $data;
304
	if ($verbose) echo "Sending $method request to $url ".(isset($short_data)&&$method!='GET'?$short_data:'')."\n";
305
306
	if (($response = curl_exec($c)) === false)