commit d1ae48cf711c1424f4c4d8534c9c2447f3d846d9 parent eef2ddf55441f836ab666446fdb6c478e78a515a Author: Pavel Renev <an2qzavok@gmail.com> Date: Mon, 13 May 2024 13:17:43 +0000 amp: don't run threadplumb if there's no port Diffstat:
M | amp.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/amp.c b/amp.c @@ -201,6 +201,7 @@ threadplumb(void *) { Plumbmsg *m; long s, e; + if (plumb.recv < 0) return; threadsetname("plumb"); for (;;) { m = plumbrecv(plumb.recv);