aboutsummaryrefslogtreecommitdiff
path: root/testcode/dohclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/dohclient.c')
-rw-r--r--testcode/dohclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/dohclient.c b/testcode/dohclient.c
index 2c12a5043f65..5eb523b2e0ac 100644
--- a/testcode/dohclient.c
+++ b/testcode/dohclient.c
@@ -388,7 +388,7 @@ static int http2_frame_recv_cb(nghttp2_session *session,
}
if(((frame->hd.type != NGHTTP2_DATA &&
frame->hd.type != NGHTTP2_HEADERS) ||
- frame->hd.flags & NGHTTP2_FLAG_END_STREAM) &&
+ (frame->hd.flags & NGHTTP2_FLAG_END_STREAM)) &&
h2_stream->res_status == 200) {
char* pktstr;
sldns_buffer_flip(h2_stream->buf);