~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to mutt_ssl_gnutls.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg, Adeodato Simó, Christoph Berg
  • Date: 2007-11-03 23:00:04 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071103230004-43e36pnhub87junc
Tags: 1.5.17-1
[ Adeodato Simó ]
* Move the packaging back to Bazaar, adjust X-VCS-* accordingly.

[ Christoph Berg ]
* Mention libsasl2-modules-gssapi-mit in README.Debian. (Closes: #433425)
* Call autoreconf at build time, drop the autotools-update patch.
* Update menu file, add lintian override file.
* Refresh patches.

* New upstream version:
  + fix segfaults with single byte 8-bit characters in index_format.
    (Closes: #420598, Mutt: #2882)
  + properly render subject headers with encoded linefeeds.
    (Closes: #264014, Mutt: #1810)
  + only calls gnutls_error_is_fatal when gnutls_record_recv returns a
    negative value. (Closes: #439775, Mutt: #2954)
  + Large file support for mutt_pretty_size().
    (Closes: #352478, #416555, Mutt: #2191)
  + Do not consider empty pipes for filtering in format strings.
    (Closes: #447340)

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
  }
100
100
 
101
101
  ret = gnutls_record_recv (data->state, buf, len);
102
 
  if (gnutls_error_is_fatal(ret) == 1)
 
102
  if (ret < 0 && gnutls_error_is_fatal(ret) == 1)
103
103
  {
104
104
    mutt_error ("tls_socket_read (%s)", gnutls_strerror (ret));
105
105
    mutt_sleep (4);
121
121
  }
122
122
 
123
123
  ret = gnutls_record_send (data->state, buf, len);
124
 
  if (gnutls_error_is_fatal(ret) == 1)
 
124
  if (ret < 0 && gnutls_error_is_fatal(ret) == 1)
125
125
  {
126
126
    mutt_error ("tls_socket_write (%s)", gnutls_strerror (ret));
127
127
    mutt_sleep (4);