updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 31 Mar 2002 18:01:40 +0000 (18:01 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 31 Mar 2002 18:01:40 +0000 (18:01 +0000)
TODO
TODO-1.0
apps/irssi/src/silc/core/client_ops.c
doc/example_silcd.conf.in
lib/silccore/silcpacket.c

diff --git a/TODO b/TODO
index 4026ab4f8418407dfcd232b32b3c73c2d809e974..8b4f4ae8a432d2b17bd86138f7f5367065e5f032 100644 (file)
--- a/TODO
+++ b/TODO
@@ -190,3 +190,6 @@ describe new stuff to be added to protocol versions 1.x.
      Payload enforces that total of 256 arguments can be associated
      to a such payload.  However, command-xx draft specified much higher
      values, and these should be fixed.
+
+ 15. The LEAVE command reply should return the Channel ID of the channel
+     that was parted.
index 4a0f6e2a558a18f6f5be2148746b4a900ca5bb41..18e3e702461b0ecd9108b2e94ff8024f18a42756 100644 (file)
--- a/TODO-1.0
+++ b/TODO-1.0
@@ -67,7 +67,7 @@ least could be done.
 
          These naturally cause the overal memory consumption to grow
          but would take away many allocations that can be done several
-         times in a second.
+         times in a second (see also ~/silcpacket).
 
        o Move the actual file descriptor task callback (the callback that
          handles the incoming data, outgoing data etc, that is implemnted
@@ -122,7 +122,10 @@ least could be done.
 
  o Rewrite SilcProtocol to be SilcFSM (see ~/silcfsm).
 
- o Do some scheduler optimizations (see ~/silcschedule).
+ o Do some scheduler optimizations and interface changes (see 
+   ~/silcschedule).
+
+ o Change the lib/silccore/silcpacket.[ch] interfaces (see ~/silcpacket).
 
  o Change SILC_TASK_CALLBACK to non-static, and remove the macro
    SILC_TASK_CALLBACK_GLOBAL.
index 16415900889e9d758e0eb05ad89f1f77f0ee7bfd..14699048500478f3200ec886f8e639697272fd5e 100644 (file)
@@ -619,6 +619,9 @@ void silc_disconnect(SilcClient client, SilcClientConnection conn)
 
   SILC_LOG_DEBUG(("Start"));
 
+  if (!server || server->connection_lost)
+    return;
+
   if (server->conn && server->conn->local_entry) {
     nicklist_rename_unique(SERVER(server),
                           server->conn->local_entry, server->nick,
index bf0a81b4ff509e78bea59d088adf5609593c0c7a..bf7db76b805f7b67d34b53b053689e70d4b81247 100644 (file)
@@ -63,7 +63,7 @@ General {
        # remote must be of at least this version, or newer.  If older then
        # the connection will not be allowed.
        #
-       # version_protocol         - SILC protocol version ("majog.minor")
+       # version_protocol         - SILC protocol version ("major.minor")
        # version_software         - software version ("major.minor")
        # version_software_vendor  - vendor specific version extension
        #
@@ -105,7 +105,7 @@ General {
 
        # Key exchange protocol rekey interval (seconds). How often to
        # regenerate the session key with the remote. Initiator will perform
-       # the rekey and this setting affects only when connecting as intiator.
+       # the rekey and this setting affects only when connecting as initiator.
        # This can be overridden with ConnectionParams.
        #key_exchange_rekey = 3600;
 
index 89aae80b2edb362caa740e190fa2ce8e726f128a..56312006ddeb3d29157e344f810bc0faf739579d 100644 (file)
@@ -629,7 +629,7 @@ SilcPacketType silc_packet_parse(SilcPacketContext *ctx, SilcCipher cipher)
     return SILC_PACKET_NONE;
 
   if (src_id_type > SILC_ID_CHANNEL || dst_id_type > SILC_ID_CHANNEL) {
-    SILC_LOG_ERROR(("Bad ID types in packet (%d and %d",
+    SILC_LOG_ERROR(("Bad ID types in packet (%d and %d)",
                   src_id_type, dst_id_type));
     return SILC_PACKET_NONE;
   }
@@ -714,7 +714,7 @@ SilcPacketType silc_packet_parse_special(SilcPacketContext *ctx,
   }
 
   if (src_id_type > SILC_ID_CHANNEL || dst_id_type > SILC_ID_CHANNEL) {
-    SILC_LOG_ERROR(("Bad ID types in packet (%d and %d",
+    SILC_LOG_ERROR(("Bad ID types in packet (%d and %d)",
                   src_id_type, dst_id_type));
     return SILC_PACKET_NONE;
   }