gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-226-g2d13627


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-226-g2d13627
Date: Tue, 15 Jun 2010 09:10:14 +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=2d13627dce95a43207647523020c1d74575f2097

The branch, master has been updated
       via  2d13627dce95a43207647523020c1d74575f2097 (commit)
      from  94f747024139098500cd82180ea725d48ca0d873 (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 2d13627dce95a43207647523020c1d74575f2097
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 f0eba23..2be32d8 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -887,7 +887,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]