diff options
Diffstat (limited to '')
-rw-r--r-- | g10/kbnode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/kbnode.c b/g10/kbnode.c index 79c1386aa..2c1e2ad3c 100644 --- a/g10/kbnode.c +++ b/g10/kbnode.c @@ -1,5 +1,5 @@ /* kbnode.c - keyblock node utility functions - * Copyright (C) 1998 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -23,8 +23,9 @@ #include <stdlib.h> #include <string.h> #include <assert.h> -#include "util.h" + #include <gcrypt.h> +#include "util.h" #include "packet.h" #include "keydb.h" @@ -165,7 +166,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; } |