Skip to content
Snippets Groups Projects
Commit 2baf38f7 authored by Steve Holme's avatar Steve Holme
Browse files

ftpserver.pl: Added fallback to <data> support when using multiple URLs

Added support for falling back to <data> when <data1>, <data2>, etc...
don't exist in the <reply> section of a unit test.
parent 8293691b
No related branches found
No related tags found
No related merge requests found
......@@ -452,6 +452,9 @@ sub getreplydata {
loadtest("$srcdir/data/test$testno");
my @data = getpart("reply", "data$testpart");
if((!@data) && ($testpart ne "")) {
@data = getpart("reply", "data");
}
return @data;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment