Fix compile error
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Thu, 5 Sep 2019 14:08:01 +0000 (16:08 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Thu, 5 Sep 2019 14:08:01 +0000 (16:08 +0200)
nmrp.c

diff --git a/nmrp.c b/nmrp.c
index 9d5c5f860557ae4d6de2224e14464432016934fa..3f7c7b84a354160b168e2a79c36eab6309b7918f 100644 (file)
--- a/nmrp.c
+++ b/nmrp.c
@@ -661,7 +661,7 @@ int nmrp_do(struct nmrpd_args *args)
                }
 
                if (rx.msg.code == NMRP_C_CLOSE_REQ) {
-                       if (ka_count) {
+                       if (kareqs) {
                                printf("\n");
                        }