projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34089c9
)
the array sizes _can_ differ and the arrays can still match, since chomp
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 25 Oct 2004 11:28:01 +0000
(11:28 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 25 Oct 2004 11:28:01 +0000
(11:28 +0000)
is used at times but it doesn't decrease the array size
tests/getpart.pm
patch
|
blob
|
history
diff --git
a/tests/getpart.pm
b/tests/getpart.pm
index
897ac24
..
969dfd0
100644
(file)
--- a/
tests/getpart.pm
+++ b/
tests/getpart.pm
@@
-138,10
+138,6
@@
sub compareparts {
my $sizefirst=scalar(@$firstref);
my $sizesecond=scalar(@$secondref);
- if($sizefirst != $sizesecond) {
- return -1;
- }
-
for(1 .. $sizefirst) {
my $index = $_ - 1;
if($firstref->[$index] ne $secondref->[$index]) {