[master] d353c4153 Reapply pthread_errno.cocci now that coccinelle can parse more

Nils Goroll nils.goroll at uplex.de
Tue Jul 11 19:49:05 UTC 2023


commit d353c4153883e60c172a6e9bc9fa4e3f787d621d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jul 11 21:46:01 2023 +0200

    Reapply pthread_errno.cocci now that coccinelle can parse more

diff --git a/vmod/vmod_blob.c b/vmod/vmod_blob.c
index 4afb739df..c9f675eb5 100644
--- a/vmod/vmod_blob.c
+++ b/vmod/vmod_blob.c
@@ -296,7 +296,7 @@ vmod_blob_encode(VRT_CTX, struct vmod_blob_blob *b, VCL_ENUM encs,
 				}
 			}
 		}
-		AZ(pthread_mutex_unlock(&b->lock));
+		PTOK(pthread_mutex_unlock(&b->lock));
 	}
 	return (b->encoding[enc][kase]);
 }


More information about the varnish-commit mailing list