From: Jonathan McDowell Date: Sun, 17 Oct 2004 10:39:17 +0000 (+0000) Subject: Fixup warnings with sendsync move. X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/7350475e98ed6302e0143a7e7c9ab7877ea58a1a?hp=fd58db2034c6781399583384055ce69fc300b26b Fixup warnings with sendsync move. Forgot to move the #include of sendsync.c from add.c to keydb.c, so do this. --- 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;