Skip to content

Commit f52a85f

Browse files
committed
Add a forgotten 'NULL' initialize for ca_info if not manually set.
1 parent a344d19 commit f52a85f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ void options_init(struct Options *opt) {
3737
opt->curl_proxy = NULL;
3838
opt->use_http_version = DEFAULT_HTTP_VERSION;
3939
opt->stats_interval = 0;
40+
opt->ca_info = NULL;
4041
}
4142

4243
int options_parse_args(struct Options *opt, int argc, char **argv) {

0 commit comments

Comments
 (0)