silc_client_get_clients() always returns SILC_STATUS_ERR_NOT_ENOUGH_PARAMS
Pekka Riikonen
priikone at iki.fi
Mon Dec 31 16:06:55 CET 2007
On Mon, 31 Dec 2007, silc at holmosapien.com wrote:
:
: I am developing an application with SILC functionality using the
: libsilc-1.1-2-dev package available in Ubuntu 7.10. I am nearly
: complete, save for one peculiar problem that I don't quite know how to
: resolve.
:
: I am attempting to retrieve the SilcClientEntry for a nickname using
: the silc_client_get_clients() function. I am calling the function and
: defining the callback as follows:
:
: r = silc_client_get_clients(client, conn, msg->target, NULL,
: silc_get_clients, NULL);
:
That is peculiar. Is the msg->target a simple nickname like "foobar", or
is it a formatted nickname, like "foobar at server#2", or something like
that?
Unless there is some bug in sending the query I doubt the error comes from
server. Rather, I think it comes from the client library when it parses
the server's reply. Unfortunately, that would mean server has somehow
sent a badly formatted reply, which it shouldn't do.
Pekka
________________________________________________________________________
Pekka Riikonen priikone at silcnet.org
Secure Internet Live Conferencing (SILC) http://silcnet.org/
More information about the silc-devel
mailing list