gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_9_11-5-g436396


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, gnutls_2_10_x, updated. gnutls_2_9_11-5-g4363960
Date: Tue, 15 Jun 2010 09:09:40 +0000

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 gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=4363960c22ab2957a0ad1da9ceb9c188473b31d5

The branch, gnutls_2_10_x has been updated
       via  4363960c22ab2957a0ad1da9ceb9c188473b31d5 (commit)
      from  b2fca85c8fe5db6baa630e9a6451428b50bb39b0 (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 4363960c22ab2957a0ad1da9ceb9c188473b31d5
Author: Simon Josefsson <address@hidden>
Date:   Tue Jun 15 11:09:16 2010 +0200

    gnutls-cli: Make --starttls work again.
    
    Problem introduced in patch to use read() instead of fgets() committed
    on 2010-01-27.

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

Summary of changes:
 src/cli.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cli.c b/src/cli.c
index 0e53bdc..6b08bea 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -837,7 +837,7 @@ after_handshake:
 
       if (FD_ISSET (fileno (stdin), &rset))
        {
-         if ((bytes = read (fileno (stdin), buffer, MAX_BUF - 1)) < 0)
+         if ((bytes = read (fileno (stdin), buffer, MAX_BUF - 1)) <= 0)
            {
              if (hd.secure == 0)
                {


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]