* Norbert Tretkowski wrote:
> * Artur R. Czechowski wrote:
> > Let's simulate the process:
> > - run slrn
> > - reject packages outgoing to tcp/119 [1]
> > - press G in slrn
> > - wait for error
> > - press G again :)
> > - pass packages outgoing to tcp/119 [2]
> > - press G again
> > - the view is messed up
> >
> > Full refresh should be done after reconnecting to the server.
>
> Yet another wishlist bugreport.
Patch against 0.9.8.1pl1 attached.
Norbert
--- slrn-0.9.8.1pl1.orig/src/nntplib.c 2004-10-31 02:30:06.000000000 +0200
+++ slrn-0.9.8.1pl1/src/nntplib.c 2005-10-04 20:45:45.000000000 +0200
@@ -43,6 +43,7 @@
#include "nntpcodes.h"
#include "util.h"
+#include "misc.h"
#include "nntplib.h"
#include "ttymsg.h"
#include "snprintf.h"
@@ -477,6 +478,8 @@
if (NULL == (s->tcp = sltcp_open_connection (s->host, s->port, s->use_ssh)))
return -1;
+ slrn_redraw ();
+
s->init_state = 1;
s->number_bytes_received = 0;
NNTP_Try_Authentication = 2;