summaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-06-25 13:54:43 +0200
committerWerner Koch <wk@gnupg.org>2007-06-25 13:54:43 +0200
commit831cd76256290541a102bc660442918c95a65e6c (patch)
treec5b54be81f3530fee16f7d6ecf832a235bdba222 /g10/gpgv.c
parentImplemented the --gen-key command as we can't use the gpgsm-gencert.sh under ... (diff)
downloadgnupg2-831cd76256290541a102bc660442918c95a65e6c.tar.xz
gnupg2-831cd76256290541a102bc660442918c95a65e6c.zip
Fixed a problem in estream-printf.c.
Changes for Windows (gpgsm -k does now work). Minor cleanups.
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r--g10/gpgv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index 73f3be09b..f7cac3457 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -155,7 +155,7 @@ main( int argc, char **argv )
case oKeyring: append_to_strlist( &nrings, pargs.r.ret_str); break;
case oStatusFD: set_status_fd( pargs.r.ret_int ); break;
case oLoggerFD:
- log_set_fd (iobuf_translate_file_handle (pargs.r.ret_int, 1));
+ log_set_fd (translate_sys2libc_fd (pargs.r.ret_int, 1));
break;
case oHomedir: opt.homedir = pargs.r.ret_str; break;
case oIgnoreTimeConflict: opt.ignore_time_conflict = 1; break;