Skip to content
Permalink
Browse files

test1521: adapt to SLISTPOINT

The header now has the slist-using options marked as SLISTPOINT so this
makes sure test 1521 understands that.

Follow-up to ae99b4d

Closes #4074
  • Loading branch information...
bagder committed Jun 25, 2019
1 parent e4b5dd2 commit 8b159d1fe9aac769fbdb3d6602665f9845db435f
Showing with 4 additions and 12 deletions.
  1. +4 −12 tests/libtest/mk-lib1521.pl
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 2017 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -205,17 +205,6 @@
print " (void)curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 0);\n";
print "${pref} stringpointerextra);\n$check";
}
elsif(($name eq "HTTPHEADER") ||
($name eq "POSTQUOTE") ||
($name eq "PREQUOTE") ||
($name eq "HTTP200ALIASES") ||
($name eq "TELNETOPTIONS") ||
($name eq "MAIL_RCPT") ||
($name eq "RESOLVE") ||
($name eq "PROXYHEADER") ||
($name eq "QUOTE")) {
print "${pref} slist);\n$check";
}
elsif($name eq "HTTPPOST") {
print "${pref} httppost);\n$check";
}
@@ -230,6 +219,9 @@
}
print "${pref} NULL);\n$check";
}
elsif($type eq "SLISTPOINT") {
print "${pref} slist);\n$check";
}
elsif($type eq "FUNCTIONPOINT") {
if($name =~ /([^ ]*)FUNCTION/) {
my $l=lc($1);

0 comments on commit 8b159d1

Please sign in to comment.
You can’t perform that action at this time.