diff options
author | Werner Koch <[email protected]> | 2006-10-18 14:28:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-10-18 14:28:52 +0000 |
commit | 2a514d34dfdf3cdf40dfa9d2f169c80afa0d919d (patch) | |
tree | 56ab047148c9e7852a3285ba1426eb7aad38e8a9 /g10/import.c | |
parent | Pth tweaks and improved estream.c (diff) | |
download | gnupg-2a514d34dfdf3cdf40dfa9d2f169c80afa0d919d.tar.gz gnupg-2a514d34dfdf3cdf40dfa9d2f169c80afa0d919d.zip |
Fixed a bug with very long keys.
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/import.c b/g10/import.c index 0ea1e55d1..8481d7beb 100644 --- a/g10/import.c +++ b/g10/import.c @@ -299,9 +299,9 @@ import_print_stats (void *hd) log_info(_(" w/o user IDs: %lu\n"), stats->no_user_id ); if( stats->imported || stats->imported_rsa ) { log_info(_(" imported: %lu"), stats->imported ); - if( stats->imported_rsa ) - fprintf(stderr, " (RSA: %lu)", stats->imported_rsa ); - putc('\n', stderr); + if (stats->imported_rsa) + log_printf (" (RSA: %lu)", stats->imported_rsa ); + log_printf ("\n"); } if( stats->unchanged ) log_info(_(" unchanged: %lu\n"), stats->unchanged ); @@ -711,7 +711,7 @@ import_one( const char *fname, KBNODE keyblock, struct stats_s *stats, if( uidnode ) print_utf8_string( stderr, uidnode->pkt->pkt.user_id->name, uidnode->pkt->pkt.user_id->len ); - putc('\n', stderr); + log_printf ("\n"); } if( !uidnode ) @@ -1108,7 +1108,7 @@ import_secret_one( const char *fname, KBNODE keyblock, if( uidnode ) print_utf8_string( stderr, uidnode->pkt->pkt.user_id->name, uidnode->pkt->pkt.user_id->len ); - putc('\n', stderr); + log_printf ("\n"); } stats->secret_read++; |