summaryrefslogtreecommitdiff
path: root/libmu_auth
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-11-21 00:45:46 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-11-21 00:45:46 +0200
commit597404315ba308889ea2776c56c184d1eb9b02fc (patch)
treeb0550167aa31bdd79d818ec653baab3e557aae10 /libmu_auth
parent72beac0a0f1bc97283ffefac9c79730b94e62f53 (diff)
downloadmailutils-597404315ba308889ea2776c56c184d1eb9b02fc.tar.gz
mailutils-597404315ba308889ea2776c56c184d1eb9b02fc.tar.bz2
mh: improve component reading (profile, context and whom).
* libmailutils/filter/header.c: New file. * libmailutils/filter/Makefile.am (libfilter_la_SOURCES): Add header.c. * libmailutils/filter/filter.c (mu_filter_get_list): Register mu_header_filter. * libmailutils/filter/inline-comment.c: (ilcmt_ws) (ilcmt_rollback): New states. (ILCMT_REMOVE_EMPTY_LINES,ILCMT_SQUEEZE_WS): New flags. (ilcmt_data)<buf,size,level,replay>: New members. (ilcmt_action): New enum (new_ilcmt_state): Return enum ilcmt_action. (_ilcmt_decoder): Optionally remove empty lines and squeeze leading white space. * libmailutils/property/mhprop.c (_mh_prop_read_stream): Remove empty lines from the input. * libmailutils/tests/Makefile.am (TESTSUITE_AT): Add hdrflt.at and inline-comment.at. * libmailutils/tests/testsuite.at: Include hdrflt.at and inline-comment.at. * libmailutils/tests/fltst.c: Pass optional arguments to the filter creation procedure. * mh/mh_whom.c (read_header): New function. (mh_whom): Rewrite using headers. * include/mailutils/filter.h: Fix a typo. * libmailutils/stream/fltstream.c: Likewise. * libmu_auth/gsasl.c: Likewise.
Diffstat (limited to 'libmu_auth')
-rw-r--r--libmu_auth/gsasl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmu_auth/gsasl.c b/libmu_auth/gsasl.c
index 10b14bfd7..0ff7e5d42 100644
--- a/libmu_auth/gsasl.c
+++ b/libmu_auth/gsasl.c
@@ -82,7 +82,7 @@ _gsasl_encoder (void *xdata,
if (status)
{
flt->gsasl_err = status;
- return mu_filter_falure;
+ return mu_filter_failure;
}
}
@@ -141,7 +141,7 @@ _gsasl_decoder (void *xdata,
default:
flt->gsasl_err = status;
- return mu_filter_falure;
+ return mu_filter_failure;
}
}

Return to:

Send suggestions and report system problems to the System administrator.