[Pkg-gnupg-commit] [gpgme] 291/412: core: Remove (now) useless diagnostic
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:27:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 30f156280f18500ee522db58aecd40711c8af685
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Aug 18 17:14:36 2016 +0200
core: Remove (now) useless diagnostic
* src/w32-io.c(_gpgme_io_spawn): Remove spawnhelper not found
diagnostic.
--
When spawnhelper is not found the error is now catched before
the CreateProcess call so the added diagnostic in bb2d11c
(which was not helpful because the value for spawnhelper
would be NULL in that case) is now no longer needed.
---
src/w32-io.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/w32-io.c b/src/w32-io.c
index 9aaaeeb..3a69541 100644
--- a/src/w32-io.c
+++ b/src/w32-io.c
@@ -1644,8 +1644,6 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
{
int lasterr = (int)GetLastError ();
TRACE_LOG1 ("CreateProcess failed: ec=%d", lasterr);
- if (lasterr == ERROR_INVALID_PARAMETER)
- TRACE_LOG1 ("(is '%s' correctly installed?)", spawnhelper);
free (arg_string);
close (tmp_fd);
DeleteFileA (tmp_name);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list