projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscvs to tla changeset 105
[onak.git]
/
parsekey.c
diff --git
a/parsekey.c
b/parsekey.c
index b492937dd8289a167df4a323baf3a786d83021e7..35c14c08c07170b5289a7c8626408edbcb07bf3c 100644
(file)
--- a/
parsekey.c
+++ b/
parsekey.c
@@
-5,7
+5,7
@@
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: parsekey.c,v 1.1
4 2003/09/30 21:59:33
noodles Exp $
+ * $Id: parsekey.c,v 1.1
5 2003/10/03 23:24:16
noodles Exp $
*/
#include <assert.h>
*/
#include <assert.h>
@@
-189,8
+189,8
@@
int read_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
}
}
}
}
- while (!rc &&
!getchar_func(ctx, 1, &curchar
) &&
-
(maxnum == 0 || keys < maxnum
)) {
+ while (!rc &&
(maxnum == 0 || keys < maxnum
) &&
+
!getchar_func(ctx, 1, &curchar
)) {
if (!inpacket && (curchar & 0x80)) {
/*
* New packet. Record the fact we're in a packet and
if (!inpacket && (curchar & 0x80)) {
/*
* New packet. Record the fact we're in a packet and