mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-15 16:48:05 -05:00
- For #857: fix mixed declarations and code.
This commit is contained in:
parent
e839771ddf
commit
40f446a499
1 changed files with 2 additions and 2 deletions
|
|
@ -386,10 +386,10 @@ send_em(const char* svr, const char* pp2_client, int udp, int usessl,
|
|||
SSL_CTX* ctx = NULL;
|
||||
SSL* ssl = NULL;
|
||||
sldns_buffer* buf = sldns_buffer_new(65553);
|
||||
if(!buf) fatal_exit("out of memory");
|
||||
sldns_buffer* proxy_buf = sldns_buffer_new(65553);
|
||||
if(!proxy_buf) {
|
||||
if(!buf || !proxy_buf) {
|
||||
sldns_buffer_free(buf);
|
||||
sldns_buffer_free(proxy_buf);
|
||||
fatal_exit("out of memory");
|
||||
}
|
||||
pp2_parsed = parse_pp2_client(pp2_client, udp, proxy_buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue