From e64038608be28c14ed72b0372529762953de898f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 22 Mar 2010 12:46:05 +0000 Subject: More chnages to use estream. Add a way to replace the standard descriptors. --- sm/gpgsm.c | 2 +- sm/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sm') diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 8774f7c32..1ce3797d2 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -911,7 +911,7 @@ main ( int argc, char **argv) /* Make sure that our subsystems are ready. */ i18n_init(); - init_common_subsystems (); + init_common_subsystems (&argc, &argv); /* Check that the libraries are suitable. Do it here because the option parse may need services of the library */ diff --git a/sm/server.c b/sm/server.c index 85c061312..bdba6393e 100644 --- a/sm/server.c +++ b/sm/server.c @@ -1248,7 +1248,7 @@ gpgsm_server (certlist_t default_recplist) /* We use a pipe based server so that we can work from scripts. assuan_init_pipe_server will automagically detect when we are - called with a socketpair and ignore FIELDES in this case. */ + called with a socketpair and ignore FILEDES in this case. */ filedes[0] = assuan_fdopen (0); filedes[1] = assuan_fdopen (1); rc = assuan_new (&ctx); -- cgit v1.2.3