Only match the first osreldate date range for constructing the FTP URL,

not all of them.

Noticed by:	obrien
This commit is contained in:
Kris Kennaway 2001-07-26 20:25:50 +00:00
parent 3d3c27fedf
commit 371af8a555

View File

@ -246,7 +246,7 @@ getpackagesite(void)
if (reldate >= releases[i].lowver && reldate <= releases[i].hiver) {
if (s_strlcat(sitepath, releases[i].directory, sizeof(sitepath)))
return NULL;
continue;
break;
}
}