aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-16 02:49:08 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-16 02:52:33 +0200
commit2ffe834bffa893efcd8942736ab14e311a0087b3 (patch)
treef05892e9d30c465ebf990bd1a8e01fc517e156fa /lib/url.c
parent027ceb37a1075bb585c8f5917a26f37cdfa352d6 (diff)
ftp wildcard: a new option CURLOPT_FNMATCH_DATA
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index cc73750e0..31976300c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2478,7 +2478,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
case CURLOPT_CHUNK_DATA:
data->wildcard.customptr = va_arg(param, void *);
break;
-
+ case CURLOPT_FNMATCH_DATA:
+ data->set.fnmatch_data = va_arg(param, void *);
+ break;
default:
/* unknown tag and its companion, just ignore: */
result = CURLE_FAILED_INIT; /* correct this */