aboutsummaryrefslogtreecommitdiffstats
path: root/g10/kbnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/kbnode.c')
-rw-r--r--g10/kbnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/kbnode.c b/g10/kbnode.c
index 282d8b42e..e28e977b9 100644
--- a/g10/kbnode.c
+++ b/g10/kbnode.c
@@ -165,7 +165,7 @@ find_prev_kbnode( KBNODE root, KBNODE node, int pkttype )
KBNODE n1;
for(n1=NULL ; root && root != node; root = root->next )
- if( !pkttype || root->pkt->pkttype == pkttype )
+ if( !pkttype || root->pkt->pkttype == pkttype )
n1 = root;
return n1;
}