Fixed nickname parsing.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 2 Jun 2007 18:17:45 +0000 (18:17 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 2 Jun 2007 18:17:45 +0000 (18:17 +0000)
lib/configure.ad
lib/silcclient/client_entry.c
lib/silcclient/silcclient_entry.h

index dc4ef610402ee9aa5222af2d1cc5a0e7d97582ea..4cd72074af310defbae37ae8367037a5f697bc70 100644 (file)
@@ -83,13 +83,13 @@ SILC_LIB_INCLUDES="$SILC_LIB_INCLUDES -I$SILC_TOP_SRCDIR/lib/silcvcard"
 LIB_BASE_VERSION=1.1
 
 # libsilc versions
-LIBSILC_CURRENT=1              # prev = 0
-LIBSILC_REVISION=0             # prev = 0
+LIBSILC_CURRENT=1              # prev = 1
+LIBSILC_REVISION=1             # prev = 0
 LIBSILC_AGE=0                  # prev = 0
 
 # libsilcclient versions
-LIBSILCCLIENT_CURRENT=1                # prev = 0
-LIBSILCCLIENT_REVISION=0       # prev = 0
+LIBSILCCLIENT_CURRENT=1                # prev = 1
+LIBSILCCLIENT_REVISION=1       # prev = 0
 LIBSILCCLIENT_AGE=0            # prev = 0
 
 # libsilcserver versions
index a97adecd326319c7344132c011090937afd8a560..27e78e341d427ec51136387f01f56e15f7369401 100644 (file)
@@ -340,7 +340,7 @@ static SilcUInt16 silc_client_get_clients_i(SilcClient client,
 
   /* Parse server name from the nickname if set */
   if (silc_parse_userfqdn(nickname, nick, sizeof(nick),
-                         serv, sizeof(serv) == 2))
+                         serv, sizeof(serv)) == 2)
     server = (const char *)serv;
   nickname = (const char *)nick;
 
index d88bad8e1e39af75f1e2574fb540758ca3c41964..7685978ec8836ad83e0e072442369259da20dec0 100644 (file)
@@ -678,7 +678,7 @@ SilcChannelEntry silc_client_get_channel(SilcClient client,
  *    Resolves entry for channel by the channel name from the server.
  *    The resolving is done with IDENTIFY command. Note that users on
  *    the channel are not resolved at the same time. Use for example
- *    silc_client_get_clients_by_channel to resolve all users on a channel.
+ *    USERS command to resolve all users on a channel.
  *
  ***/
 void silc_client_get_channel_resolve(SilcClient client,
@@ -734,8 +734,7 @@ SilcChannelEntry silc_client_get_channel_by_id(SilcClient client,
  *    a pending command to it, if needed.  Returns 0 on error.
  *
  *    Note that users on the channel are not resolved at the same time.
- *    Use for example silc_client_get_clients_by_channel to resolve all
- *    users on a channel.
+ *    Use for example USERS command to resolve all users on a channel.
  *
  ***/
 SilcUInt16