diff options
author | David Shaw <[email protected]> | 2004-11-04 22:28:39 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-11-04 22:28:39 +0000 |
commit | 69ef25f8d6c80af6748be5b311f1018e8625e7d2 (patch) | |
tree | 449f85017916691a788bfeb071728552ddc863ed /g10/progress.c | |
parent | * misc.c (print_digest_algo_note): The latest 2440bis drafts deprecates (diff) | |
download | gnupg-69ef25f8d6c80af6748be5b311f1018e8625e7d2.tar.gz gnupg-69ef25f8d6c80af6748be5b311f1018e8625e7d2.zip |
* plaintext.c (handle_plaintext): Don't try and create a zero-length
filename when using --use-embedded-filename with input that has no
filename (clearsigned or message generated from a pipe).
* encode.c (encode_simple, encode_crypt), progress.c (handle_progress),
sign.c (write_plaintext_packet): Fix a few inconsistent calls (NULL
filename means a pipe here, so don't bother to check it twice).
Diffstat (limited to 'g10/progress.c')
-rw-r--r-- | g10/progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/progress.c b/g10/progress.c index 42b5ae89e..5c0725ae4 100644 --- a/g10/progress.c +++ b/g10/progress.c @@ -105,7 +105,7 @@ handle_progress (progress_filter_context_t *pfx, IOBUF inp, const char *name) if (!is_status_enabled ()) return; - if ( !iobuf_is_pipe_filename (name) && name && *name ) + if ( !iobuf_is_pipe_filename (name) && *name ) filesize = iobuf_get_filelength (inp); else if (opt.set_filesize) filesize = opt.set_filesize; |