[Pkg-gnupg-commit] [libgpg-error] 07/32: estream: Fix modestring parsing.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Nov 16 01:31:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository libgpg-error.
commit 0734f4863859257d18ca96f4b9be62be75fcffe1
Author: Justus Winter <justus at g10code.com>
Date: Tue Oct 11 11:58:54 2016 +0200
estream: Fix modestring parsing.
* src/estream.c (parse_mode): Fix parsing the 'sysopen' flag.
Signed-off-by: Justus Winter <justus at g10code.com>
---
src/estream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/estream.c b/src/estream.c
index 4cc72ba..95d7211 100644
--- a/src/estream.c
+++ b/src/estream.c
@@ -1809,7 +1809,7 @@ parse_mode (const char *modestr,
}
else if (!strncmp (modestr, "sysopen", 7))
{
- modestr += 8;
+ modestr += 7;
if (*modestr && !strchr (" \t,", *modestr))
{
_set_errno (EINVAL);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git
More information about the Pkg-gnupg-commit
mailing list