diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-11-16 22:58:06 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-11-16 22:58:06 -0700 |
commit | bc1f1a620ddaa64f5b714df0d0dc27b923c2a438 (patch) | |
tree | 50cf42c48bed9376aae02bc2f02e75be1f2f50ed /imap/src | |
parent | b63f6587950eb0dcb15aec5ec65d86b9f63a2683 (diff) | |
download | alpine-bc1f1a620ddaa64f5b714df0d0dc27b923c2a438.tar.xz |
* Crash when tcp connection to NNTP server was lost after connection
had been established, but lost immediately afterwards.
* Small fixes to pine.hlp (alignment issues)
* Add server name to debug in pine_tcptimeout function.
Diffstat (limited to 'imap/src')
-rw-r--r-- | imap/src/c-client/nntp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/src/c-client/nntp.c b/imap/src/c-client/nntp.c index cee546d1..1607db81 100644 --- a/imap/src/c-client/nntp.c +++ b/imap/src/c-client/nntp.c @@ -1750,6 +1750,7 @@ SENDSTREAM *nntp_open_full (NETDRIVER *dv,char **hostlist,char *service, mm_log ("Unable to negotiate TLS with this server",ERROR); return NIL; } + if(stream && !stream->netstream) stream = nntp_close(stream); if (stream) { /* have a session? */ if (mb.user[0]) { /* yes, have user name? */ if ((long) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { |