svc/tripe-ifup.in: Explicitly tag routes as `static'.
[tripe] / proxy / tripe-mitm.c
index 97bba83..4b0e447 100644 (file)
@@ -1,7 +1,5 @@
 /* -*-c-*-
  *
- * $Id$
- *
  * An evil proxy for TrIPE
  *
  * (c) 2001 Straylight/Edgeware
@@ -69,6 +67,8 @@
 #include <catacomb/rand.h>
 #include <catacomb/rc4.h>
 
+#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)