From 9a854f1010d6311576b823b6638997f9778b4327 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 29 Sep 1998 16:15:15 +0000 Subject: *** empty log message *** --- g10/plaintext.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'g10/plaintext.c') diff --git a/g10/plaintext.c b/g10/plaintext.c index 6d1c8796f..b1201b8b7 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -98,6 +98,10 @@ handle_plaintext( PKT_plaintext *pt, md_filter_context_t *mfx, fname = m_alloc( strlen( opt.outfile ) + 1); strcpy(fname, opt.outfile ); } + else if( pt->namelen == 8 && !memcmp( pt->name, "_CONSOLE", 8 ) ) { + log_info(_("data not saved; use option \"--output\" to save it\n")); + nooutput = 1; + } else { fname = m_alloc( pt->namelen +1 ); memcpy( fname, pt->name, pt->namelen ); -- cgit v1.2.3