projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d060a48
)
Fix PostgreSQL backend key iteration
author
Jonathan McDowell
<noodles@earth.li>
Sat, 26 Dec 2009 12:18:13 +0000
(12:18 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Sat, 26 Dec 2009 12:18:13 +0000
(12:18 +0000)
We weren't passing the correct pointer into the parse_keys function
when parsing the packets we'd read.
keydb_pg.c
patch
|
blob
|
history
diff --git
a/keydb_pg.c
b/keydb_pg.c
index 812e5d76b1aa079777ffa58a43b579c08a966070..85ea50060b5b12a58cad35badabb066d9d9043a8 100644
(file)
--- a/
keydb_pg.c
+++ b/
keydb_pg.c
@@
-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);