common/util.c, server/admin.c: Ensure null-termination of result strings.
[tripe] / server / keyexch.c
index d26ac78..2502fa3 100644 (file)
@@ -1278,7 +1278,7 @@ void kx_message(keyexch *kx, unsigned msg, buf *b)
     start(kx, now.tv_sec);
     rs_time(&kx->rs, &tv, &now);
     settimer(kx, &tv);
-    a_notify("KXSTART", A_END);
+    a_notify("KXSTART", "?PEER", kx->p, A_END);
   }
 
   if (checkpub(kx))