diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-04-20 10:29:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-23 22:52:48 +0200 |
commit | 98a768f0a6d23e6d3e209fc543d60e260dbcc46b (patch) | |
tree | fe2e8ff340dbea8b8db9f75a007c13ed3fc4e3f9 /lib/wildcard.c | |
parent | 5e5725a47651b4398789b59074aef09bdc735869 (diff) | |
download | curl-98a768f0a6d23e6d3e209fc543d60e260dbcc46b.tar.gz |
ftplistparser: renamed some members and variables
... to make them better spell out what they're for.
Diffstat (limited to 'lib/wildcard.c')
-rw-r--r-- | lib/wildcard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/wildcard.c b/lib/wildcard.c index af45c79bd..cb88ab72f 100644 --- a/lib/wildcard.c +++ b/lib/wildcard.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, 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 @@ -43,12 +43,12 @@ void Curl_wildcard_dtor(struct WildcardData *wc) if(!wc) return; - if(wc->tmp_dtor) { - wc->tmp_dtor(wc->tmp); - wc->tmp_dtor = ZERO_NULL; - wc->tmp = NULL; + if(wc->dtor) { + wc->dtor(wc->protdata); + wc->dtor = ZERO_NULL; + wc->protdata = NULL; } - DEBUGASSERT(wc->tmp == NULL); + DEBUGASSERT(wc->protdata == NULL); Curl_llist_destroy(&wc->filelist, NULL); |