$Log$
+ Revision 605.25 2003/03/20 08:37:04 error
+ * connection_died(): Don't crash before printing message, crash afterward.
+ (Bugzilla id 111)
+
Revision 605.24 2003/03/19 11:48:06 error
* entmsg(): Don't corrupt the msg_arr[] when replying to a message in a room
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
}
error_printf("SSL_read in serv_read:\n");
ERR_print_errors_fp(stderr);
- connection_died(NULL);
+ connection_died(ipc);
return;
}
len += rlen;
}
error_printf("SSL_write in serv_write:\n");
ERR_print_errors_fp(stderr);
- connection_died(NULL);
+ connection_died(ipc);
return;
}
bytes_written += retval;
"Last error: %s\n"
"Please re-connect and log in again.\n",
strerror(errno));
-#ifdef HAVE_OPENSSL
+ fflush(stderr);
+ fflush(stdout);
+#ifdef HAVE_OPENSSL
/* ...don't try to shut down a connection on a dead socket?
SSL_shutdown(ipc->ssl);
*/