aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-gpgconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine-gpgconf.c')
-rw-r--r--src/engine-gpgconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine-gpgconf.c b/src/engine-gpgconf.c
index 44967f56..d08ed03c 100644
--- a/src/engine-gpgconf.c
+++ b/src/engine-gpgconf.c
@@ -537,7 +537,7 @@ gpgconf_conf_load (void *engine, gpgme_conf_comp_t *comp_p)
gpgme_error_t
_gpgme_conf_arg_new (gpgme_conf_arg_t *arg_p,
- gpgme_conf_type_t type, void *value)
+ gpgme_conf_type_t type, const void *value)
{
gpgme_conf_arg_t arg;
@@ -660,7 +660,6 @@ gpgconf_write (void *engine, char *arg1, char *arg2, gpgme_data_t conf)
/* _gpgme_engine_new guarantees that this is not NULL. */
argv[0] = gpgconf->file_name;
- argv[0] = "/nowhere/path-needs-to-be-fixed/gpgconf";
if (_gpgme_io_pipe (rp, 0) < 0)
return gpg_error_from_syserror ();