Skip to contentSkip to conversation

ipc: fix code style

PATCH New James Tucker 1 participant 1 message Jan 10, 2017

lore
Share & tools
lore
#0 lore raw

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
index 6237961..0e90b3c 100644
@@ -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