Commit 5591d2b7 5591d2b7002564432e85426df073c4804e514e16 by Sergey Poznyakoff

Bugfixes.

* libmu_auth/tls.c (_tls_ioctl): Fix typo (opcode used instead of
code).
* mu/filter.c (mutool_filter): Reference mu_strin to prevent it from
destroying.
* testsuite/smtpsend.c (main): Call mu_stdstream_setup.
1 parent c55e2241
......@@ -519,7 +519,7 @@ _tls_ioctl (struct _mu_stream *stream, int code, int opcode, void *arg)
{
struct _mu_tls_stream *sp = (struct _mu_tls_stream *) stream;
switch (opcode)
switch (code)
{
case MU_IOCTL_TRANSPORT:
switch (opcode)
......
......@@ -139,6 +139,7 @@ mutool_filter (int argc, char **argv)
}
prev_stream = mu_strin;
mu_stream_ref (mu_strin);
do
{
int i;
......
......@@ -98,6 +98,7 @@ main (int argc, char **argv)
mu_list_t skiphdr_list = NULL;
mu_set_program_name (argv[0]);
mu_stdstream_setup ();
#ifdef WITH_TLS
mu_init_tls_libs ();
#endif
......