From 7350475e98ed6302e0143a7e7c9ab7877ea58a1a Mon Sep 17 00:00:00 2001
From: Jonathan McDowell <noodles@earth.li>
Date: Sun, 17 Oct 2004 10:39:17 +0000
Subject: [PATCH 1/1] Fixup warnings with sendsync move. Forgot to move the
 #include of sendsync.c from add.c to keydb.c, so do this.

---
 add.c   | 1 -
 keydb.c | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/add.c b/add.c
index 46f5ecf..10627f2 100644
--- a/add.c
+++ b/add.c
@@ -23,7 +23,6 @@
 #include "merge.h"
 #include "onak-conf.h"
 #include "parsekey.h"
-#include "sendsync.h"
 
 int main(int argc, char *argv[])
 {
diff --git a/keydb.c b/keydb.c
index b8bd316..300e9b9 100644
--- a/keydb.c
+++ b/keydb.c
@@ -24,6 +24,7 @@
 #include "mem.h"
 #include "merge.h"
 #include "parsekey.h"
+#include "sendsync.h"
 
 #ifdef NEED_KEYID2UID
 /**
@@ -217,7 +218,7 @@ int update_keys(struct openpgp_publickey **keys, bool sendsync)
 	}
 
 	if (sendsync && keys != NULL) {
-		sendkeysync(keys);
+		sendkeysync(*keys);
 	}
 
 	return newkeys;
-- 
2.39.5