server/peer.c: Add a flags argument to `p_txend'.
[tripe] / server / keyexch.c
index b141100..bea5051 100644 (file)
@@ -622,7 +622,7 @@ static void kxc_answer(keyexch *kx, kxchal *kxc)
 
   if (BOK(b)) {
     update_stats_tx(kx, BLEN(b));
-    p_txend(kx->p);
+    p_txend(kx->p, 0);
   }
 
   /* --- Schedule another resend --- */
@@ -775,7 +775,7 @@ static int dotoken(keyexch *kx, buf *b)
 
   if (BBAD(bbb)) return (-1);
   update_stats_tx(kx, BLEN(bbb));
-  p_txend(kx->p);
+  p_txend(kx->p, 0);
   return (0);
 }
 
@@ -820,7 +820,7 @@ static int doprechallenge(keyexch *kx, buf *b)
   sendchallenge(kx, b, C, GH_DONE(h, 0));
   GH_DESTROY(h);
   update_stats_tx(kx, BLEN(b));
-  p_txend(kx->p);
+  p_txend(kx->p, 0);
 
   /* --- Done --- */
 
@@ -1166,7 +1166,7 @@ static void resend(keyexch *kx)
 
   if (BOK(b)) {
     update_stats_tx(kx, BLEN(b));
-    p_txend(kx->p);
+    p_txend(kx->p, 0);
   }
 
   if (kx->s < KXS_SWITCH) {