diff options
author | Justus Winter <[email protected]> | 2016-10-11 09:58:54 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-18 13:21:17 +0000 |
commit | 0734f4863859257d18ca96f4b9be62be75fcffe1 (patch) | |
tree | bfa8f1ddd65a4bfe484ba976986082fdfc2064e4 | |
parent | Add error code USER_ID_EXISTS, NAME_EXISTS, and DUP_NAME. (diff) | |
download | libgpg-error-0734f4863859257d18ca96f4b9be62be75fcffe1.tar.gz libgpg-error-0734f4863859257d18ca96f4b9be62be75fcffe1.zip |
estream: Fix modestring parsing.
* src/estream.c (parse_mode): Fix parsing the 'sysopen' flag.
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | src/estream.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |