--- ./pan-0.13.3.ref/pan/queue.c Fri Dec 20 20:36:15 2002 +++ ./pan-0.13.3/pan/queue.c Mon Jan 6 01:13:46 2003 @@ -1308,7 +1308,9 @@ else { /* otherwise throw it away */ - nntp_disconnect (NULL, socket); + /* if we have a socket error we will not be able to disconnect properly! */ + if (!socket->error) + nntp_disconnect (NULL, socket); pan_object_unref (PAN_OBJECT(socket)); fire_connection_size_changed (-1); sockets = g_slist_remove (sockets, info);