]> code.citadel.org Git - citadel.git/blobdiff - citadel/ipc_c_tcp.c
* citadel_ipc.c: when issuing a SPEX command, send the string value for
[citadel.git] / citadel / ipc_c_tcp.c
index 1e8e8dcb44a3477573b3968a3d0019c28a38ed4a..b26af28ea5e1e83dc9ac7d8c9664e33c08d298dc 100644 (file)
@@ -56,7 +56,11 @@ void connection_died(CtdlIPC *ipc) {
                        "Please re-connect and log in again.\n",
                        strerror(errno));
 #ifdef HAVE_OPENSSL
+
+       /*  ...don't try to shut down a connection on a dead socket?
        SSL_shutdown(ipc->ssl);
+       */
+
        SSL_free(ipc->ssl);
        ipc->ssl = NULL;
 #endif