Skip to content

Commit d642bb7

Browse files
committed
fix CURLOPT_DNS_CACHE_TIMEOUT wrong val + fix wrong arg passing.
1 parent 1542f6d commit d642bb7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

inc/checks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
/* cmdline argument check routines */
5353
void check_argc(int);
54-
void check_args();
54+
void check_args(opts_T *);
5555

5656
/* opts check routines */
5757
void check_opts(opts_T *);

inc/lulzbuster.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252

5353
/* lulzbuster version */
54-
#define VERSION "lulzbuster v1.3.2"
54+
#define VERSION "lulzbuster v1.3.3"
5555

5656

5757
/*******************************************************************************

src/opts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ unsigned char set_http_options(opts_T *opts)
4545
}
4646

4747
/* set dns caching to remain forever */
48-
if (curl_easy_setopt(opts->curl->eh, CURLOPT_DNS_CACHE_TIMEOUT, -1L) != \
48+
if (curl_easy_setopt(opts->curl->eh, CURLOPT_DNS_CACHE_TIMEOUT, 1L) != \
4949
CURLE_OK) {
5050
err(E_CURL_DNSCACHE);
5151
return FALSE;

0 commit comments

Comments
 (0)