summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-12-12 09:31:31 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-12-12 09:31:31 +0200
commit506086e05f25c8082993940eac0883c7d72d485a (patch)
treee57b72a80acf3ea79aa1757786bfde26ff613e1f
parent81750c9d313c09c0af1b5087bf2b0f584256d416 (diff)
downloadmailutils-506086e05f25c8082993940eac0883c7d72d485a.tar.gz
mailutils-506086e05f25c8082993940eac0883c7d72d485a.tar.bz2
Minor fix
-rw-r--r--libmu_sieve/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmu_sieve/util.c b/libmu_sieve/util.c
index 15a2ea789..9a0b7dbf0 100644
--- a/libmu_sieve/util.c
+++ b/libmu_sieve/util.c
@@ -476,13 +476,13 @@ mu_sieve_stream_save (mu_sieve_machine_t mach)
if (mu_stream_ioctl (mach->errstream, MU_IOCTL_LOGSTREAM,
MU_IOCTL_LOGSTREAM_GET_MODE, &mach->err_mode) == 0
&& mu_stream_ioctl (mach->errstream, MU_IOCTL_LOGSTREAM,
- MU_IOCTL_LOGSTREAM_SET_LOCUS, &mach->err_locus) == 0)
+ MU_IOCTL_LOGSTREAM_GET_LOCUS, &mach->err_locus) == 0)
mach->state_flags |= MU_SV_SAVED_ERR_STATE;
if (mu_stream_ioctl (mach->dbgstream, MU_IOCTL_LOGSTREAM,
MU_IOCTL_LOGSTREAM_GET_MODE, &mach->dbg_mode) == 0
&& mu_stream_ioctl (mach->dbgstream, MU_IOCTL_LOGSTREAM,
- MU_IOCTL_LOGSTREAM_SET_LOCUS, &mach->dbg_locus) == 0)
+ MU_IOCTL_LOGSTREAM_GET_LOCUS, &mach->dbg_locus) == 0)
mach->state_flags |= MU_SV_SAVED_DBG_STATE;
mach->state_flags |= MU_SV_SAVED_STATE;

Return to:

Send suggestions and report system problems to the System administrator.