diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/plaintext.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index 309a637e6..f93a1c7dd 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2004-07-20 Werner Koch <[email protected]> + + * plaintext.c (handle_plaintext): Make number buffer larger. With + 64 bits longs we might need to print 20 digits. + 2004-07-18 David Shaw <[email protected]> * sign.c (update_keysig_packet): Revert change of 2004-05-18. It diff --git a/g10/plaintext.c b/g10/plaintext.c index 6a0adfc93..1eb143eb9 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -63,7 +63,7 @@ handle_plaintext( PKT_plaintext *pt, md_filter_context_t *mfx, the format code (say, recode UTF-8 to local). */ if(!nooutput && is_status_enabled()) { - char status[20]; + char status[50]; sprintf(status,"%X %lu ",(byte)pt->mode,(ulong)pt->timestamp); write_status_text_and_buffer(STATUS_PLAINTEXT, |