diff options
author | Marcus Brinkmann <[email protected]> | 2010-11-23 09:46:52 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2010-11-23 09:46:52 +0000 |
commit | eff0b7766ac364283f2fff48b5747d37ea1cf4eb (patch) | |
tree | 6b3119e70c8a04b8949d76e6e5062087420cde98 /src/engine-gpgconf.c | |
parent | 2010-11-19 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-eff0b7766ac364283f2fff48b5747d37ea1cf4eb.tar.gz gpgme-eff0b7766ac364283f2fff48b5747d37ea1cf4eb.zip |
2010-11-23 Marcus Brinkmann <[email protected]>
* gpgme.h.in (gpgme_conf_arg_new): Make VALUE arg const void *.
* gpgconf.c (_gpgme_conf_arg_new): Likewise.
(gpgme_conf_arg_new): Likewise.
* engine-gpgconf.c (_gpgme_conf_arg_new): Likewise.
(gpgconf_write): Remove debug hack.
Diffstat (limited to 'src/engine-gpgconf.c')
-rw-r--r-- | src/engine-gpgconf.c | 3 |
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 (); |