/[mailutils]/mailutils/pop3d/extra.c
ViewVC logotype

Diff of /mailutils/pop3d/extra.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by polak, Mon Jan 13 23:01:30 2003 UTC revision 1.21 by gray, Fri Jan 17 10:09:33 2003 UTC
# Line 223  pop3d_readline (char *buffer, size_t siz Line 223  pop3d_readline (char *buffer, size_t siz
223  #ifdef WITH_TLS  #ifdef WITH_TLS
224    if (tls_done)    if (tls_done)
225      {      {
226        gnutls_record_recv (sfile, buffer, size - 1);        int rc = gnutls_record_recv (sfile, buffer, size - 1);
227          if (rc < 0)
228            {
229              syslog (LOG_ERR, _("TLS error on read: %s"),
230                      gnutls_strerror (rc));
231              pop3d_abquit (ERR_TLS_IO);
232            }
233          else
234            buffer[rc] = 0;
235        ptr = buffer;        ptr = buffer;
236      }      }
237    else    else

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26