purging outgoing queue. Prevents the "Error in select()"
floods. Affected file silcd/packet_send.c.
+ * Fixed incorrect connection deletion from client library
+ after calling "connect" client operation. Could cause
+ crashes for example during reconnect timeouts. Affected
+ files are lib/silcclient/client.c and
+ irssi/src/silc/core/client_ops.c.
+
Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
* NULL terminate allocated string in silc_buffer_strformat.
silc_get_status_message(status), status,
message ? message : "");
- server->conn->context = NULL;
+ if (server->conn)
+ server->conn->context = NULL;
server->conn = NULL;
server->connection_lost = TRUE;
server_disconnect(SERVER(server));
done the `connect' client operation is called. */
bool silc_client_connect_to_server(SilcClient client,
- SilcClientConnectionParams *params,
- int port, char *host, void *context)
+ SilcClientConnectionParams *params,
+ int port, char *host, void *context)
{
SilcClientInternalConnectContext *ctx;
SilcClientConnection conn;
/* Notify application of failure */
client->internal->ops->connected(client, conn, SILC_CLIENT_CONN_ERROR);
- silc_client_del_connection(client, conn);
}
return;
}