Commit af1b0612 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Dridi Boukelmoune

Duh! && not ||.

Spotted by:	fgs
parent 07e80a0f
......@@ -317,7 +317,7 @@ vdp_gunzip(struct req *req, enum vdp_action act, void **priv,
req->resp_len = -1;
p = ObjGetAttr(req->wrk, req->objcore, OA_GZIPBITS, &dl);
if (p != NULL || dl == 32) {
if (p != NULL && dl == 32) {
u = vbe64dec(p + 24);
/*
* If the size is non-zero AND we are the top VDP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment