[6.0] 03fd56af2 Minor FlexeLinting

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:46 UTC 2018


commit 03fd56af244e8ba90122900980b703366527fb15
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Apr 20 10:14:08 2018 +0000

    Minor FlexeLinting

diff --git a/lib/libvarnish/vus.c b/lib/libvarnish/vus.c
index 6315d9533..f233c5f8f 100644
--- a/lib/libvarnish/vus.c
+++ b/lib/libvarnish/vus.c
@@ -121,7 +121,7 @@ VUS_connect(const char *path, int msec)
 	if (msec != 0)
 		(void)VTCP_nonblocking(s);
 
-	i = connect(s, (const struct sockaddr *)&uds, sl);
+	i = connect(s, (const void*)&uds, sl);
 	if (i == 0)
 		return (s);
 	if (errno != EINPROGRESS) {
diff --git a/lib/libvmod_debug/vmod_debug_dyn.c b/lib/libvmod_debug/vmod_debug_dyn.c
index 75dda136b..5fa883329 100644
--- a/lib/libvmod_debug/vmod_debug_dyn.c
+++ b/lib/libvmod_debug/vmod_debug_dyn.c
@@ -262,7 +262,7 @@ xyzzy_dyn_uds__fini(struct xyzzy_debug_dyn_uds **udsp)
 	free(uds->vcl_name);
 	AZ(pthread_mutex_destroy(&uds->mtx));
 	FREE_OBJ(uds);
-	udsp = NULL;
+	*udsp = NULL;
 }
 
 VCL_BACKEND v_matchproto_(td_debug_dyn_uds_backend)


More information about the varnish-commit mailing list