[SCM] GNU Mailutils branch, master, updated. release-2.2-325-g5591d2b

"Sergey Poznyakoff" <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=5591d2b7002564432e85426df073c4804e514e16

The branch, master has been updated
       via  5591d2b7002564432e85426df073c4804e514e16 (commit)
      from  c55e2241a6809305301e4a582564daac3e44fd6f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5591d2b7002564432e85426df073c4804e514e16
Author: Sergey Poznyakoff <[email protected]>
Date:   Sun Dec 26 00:22:01 2010 +0200

    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.

-----------------------------------------------------------------------

Summary of changes:
 libmu_auth/tls.c     |    2 +-
 mu/filter.c          |    1 +
 testsuite/smtpsend.c |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libmu_auth/tls.c b/libmu_auth/tls.c
index 288d3f7..944b258 100644
--- a/libmu_auth/tls.c
+++ b/libmu_auth/tls.c
@@ -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)
diff --git a/mu/filter.c b/mu/filter.c
index 0b40c4d..17061fa 100644
--- a/mu/filter.c
+++ b/mu/filter.c
@@ -139,6 +139,7 @@ mutool_filter (int argc, char **argv)
     }
 
   prev_stream = mu_strin;
+  mu_stream_ref (mu_strin);
   do
     {
       int i;
diff --git a/testsuite/smtpsend.c b/testsuite/smtpsend.c
index c77e703..058c290 100644
--- a/testsuite/smtpsend.c
+++ b/testsuite/smtpsend.c
@@ -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  


hooks/post-receive
-- 
GNU Mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.