From: Pekka Riikonen Date: Sat, 2 Jun 2007 18:17:45 +0000 (+0000) Subject: Fixed nickname parsing. X-Git-Tag: silc.client.1.1~7 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=aa749616a49ea132e0501bef6e9ee8cb46240628 Fixed nickname parsing. --- diff --git a/lib/configure.ad b/lib/configure.ad index dc4ef610..4cd72074 100644 --- a/lib/configure.ad +++ b/lib/configure.ad @@ -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 diff --git a/lib/silcclient/client_entry.c b/lib/silcclient/client_entry.c index a97adecd..27e78e34 100644 --- a/lib/silcclient/client_entry.c +++ b/lib/silcclient/client_entry.c @@ -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; diff --git a/lib/silcclient/silcclient_entry.h b/lib/silcclient/silcclient_entry.h index d88bad8e..7685978e 100644 --- a/lib/silcclient/silcclient_entry.h +++ b/lib/silcclient/silcclient_entry.h @@ -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