Code Duplication    Length = 1-1 lines in 2 locations

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

@@ 541-541 (lines=1) @@
538
	}
539
	curl_setopt($c, CURLOPT_URL, $url);
540
541
	if (is_string($data)) $short_data = strlen($data) > 100 ? substr($data, 0, 100).' ...' : $data;
542
	if ($verbose) echo "Sending $method request to $url ".(isset($short_data)&&$method!='GET'?$short_data:'')."\n";
543
544
	if (($response = curl_exec($c)) === false)

install-cli.php 1 location

@@ 403-403 (lines=1) @@
400
	}
401
	curl_setopt($c, CURLOPT_URL, $url);
402
403
	if (is_string($data)) $short_data = strlen($data) > 100 ? substr($data, 0, 100).' ...' : $data;
404
	if ($verbose) echo "Sending $method request to $url ".(isset($short_data)&&$method!='GET'?$short_data:'')."\n";
405
406
	if (($response = curl_exec($c)) === false)