X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/e04c2d50fd96f3f31bc96851c55c6efecc10469c..35c8b547dde529693875087d67fa60bf88319d2b:/proxy/tripe-mitm.c diff --git a/proxy/tripe-mitm.c b/proxy/tripe-mitm.c index 97bba83b..4b0e4470 100644 --- a/proxy/tripe-mitm.c +++ b/proxy/tripe-mitm.c @@ -1,6 +1,4 @@ /* -*-c-*- - * - * $Id$ * * An evil proxy for TrIPE * @@ -69,6 +67,8 @@ #include #include +#include "util.h" + /*----- Data structures ---------------------------------------------------*/ typedef struct peer { @@ -409,7 +409,7 @@ static void adddelay(filter *f, unsigned ac, char **av) static void dosend(filter *f, const octet *buf, size_t sz) { printf("send to `%s'\n", f->p_to->name); - write(f->p_to->sf.fd, buf, sz); + IGNORE(write(f->p_to->sf.fd, buf, sz)); } static void addsend(filter *f, unsigned ac, char **av)