Skip to content

Commit

Permalink
Issue skupperproject#773: fix bad call to qd_error_code (skupperproje…
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiusti authored Oct 26, 2022
1 parent 095e929 commit c5257f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/http_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static qd_error_t qd_load_http_adaptor_config(qd_http_adaptor_config_t *config,
} else if (strcmp(version_str, "HTTP1") == 0) {
config->http_version = HTTP1;
} else {
qd_error_code(QD_ERROR_CONFIG, "Invalid value for HTTP version: %s, expected 'HTTP1' or 'HTTP2'", version_str);
qd_error(QD_ERROR_CONFIG, "Invalid value for HTTP version: %s, expected 'HTTP1' or 'HTTP2'", version_str);
goto error;
}
free(version_str);
Expand Down

0 comments on commit c5257f7

Please sign in to comment.