aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libventi/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libventi/server.c b/src/libventi/server.c
index 91846446..391d7373 100644
--- a/src/libventi/server.c
+++ b/src/libventi/server.c
@@ -197,7 +197,8 @@ vtrespond(VtReq *r)
vtfcallclear(&r->rx);
return;
}
- vtsend(sc->c, p);
+ if(vtsend(sc->c, p) < 0)
+ fprint(2, "vtsend %F: %r\n", &r->rx);
scdecref(sc);
vtfcallclear(&r->tx);
vtfcallclear(&r->rx);