]> the.earth.li Git - onak.git/commitdiff
Fixup warnings with sendsync move.
authorJonathan McDowell <noodles@earth.li>
Sun, 17 Oct 2004 10:39:17 +0000 (10:39 +0000)
committerJonathan McDowell <noodles@earth.li>
Sun, 17 Oct 2004 10:39:17 +0000 (10:39 +0000)
Forgot to move the #include of sendsync.c from add.c to keydb.c, so do
this.

add.c
keydb.c

diff --git a/add.c b/add.c
index 46f5ecf1e926a1553e06320b15acc4b9e40ab65e..10627f281105d8bb3369aaf5c122b7d37e2086c0 100644 (file)
--- 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 b8bd316e8e3dcf01fbb4e0f1efc02efe7eb7997e..300e9b9a42690654e37b4649b1d06fbc70033c73 100644 (file)
--- 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;