ipc: fix code style
PATCH 1/1 ipc: fix code style
best we don't goto fail by accident.
--- src/tools/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/tools/ipc.c +1 -1
@@ -240,7 +240,7 @@ static int userspace_get_device(struct wgdevice **dev, const char *interface)if ((uint8_t *)peer +sizeof (struct wgpeer ) > (uint8_t *)*dev + len) goto out;if ((uint8_t *)peer +sizeof (struct wgpeer ) +sizeof (struct wgipmask ) * peer->num_ipmasks > (uint8_t *)*dev + len) - goto out; + goto out; } ret =0 ; out:
Signature · 1 line
2.11.0