diff options
| author | Werner Koch <[email protected]> | 1998-02-11 23:22:09 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-02-11 23:22:09 +0000 |
| commit | bc5789665ae8c9f8fc3d02841cd6c9ade447a12a (patch) | |
| tree | a98aa9fdf58eaffecb38ce481606ee8536280fc8 /g10/kbnode.c | |
| parent | a couple of changes; but some parts are now broken (diff) | |
| download | gnupg-bc5789665ae8c9f8fc3d02841cd6c9ade447a12a.tar.gz gnupg-bc5789665ae8c9f8fc3d02841cd6c9ade447a12a.zip | |
bug fixes
Diffstat (limited to 'g10/kbnode.c')
| -rw-r--r-- | g10/kbnode.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/g10/kbnode.c b/g10/kbnode.c index 3096c4df5..dd4f0ce24 100644 --- a/g10/kbnode.c +++ b/g10/kbnode.c @@ -180,11 +180,8 @@ walk_kbnode( KBNODE root, KBNODE *context, int all ) return root; } - n = *context; - if( n->next ) { - n = n->next; - *context = n; - } + n = (*context)->next; + *context = n; } while( !all && n && (n->private_flag & 1) ); return n; |
