]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - keydb_pg.c
Make keyd background itself by default
[onak.git] / keydb_pg.c
index 812e5d76b1aa079777ffa58a43b579c08a966070..85ea50060b5b12a58cad35badabb066d9d9043a8 100644 (file)
@@ -608,7 +608,7 @@ static int pg_iterate_keys(void (*iterfunc)(void *ctx,
                        } else {
                                read_openpgp_stream(keydb_fetchchar, &fd,
                                                &packets, 0);
-                               parse_keys(packets, key);
+                               parse_keys(packets, &key);
                                lo_close(dbconn, fd);
 
                                iterfunc(ctx, key);