+Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed CUMODE_CHANGE notify handling to change the mode of
+ correct client. Affected file lib/silcclient/client_notify.c.
+
Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
* Fixed the file transfer's key agreement payload to include
break;
/* Save the mode */
- chu = silc_client_on_channel(channel, client_entry);
+ chu = silc_client_on_channel(channel, client_entry2);
if (chu)
chu->mode = mode;
memset(new->pool, 0, sizeof(new->pool));
memset(new->key, 0, sizeof(new->key));
new->state = NULL;
- silc_hash_alloc("sha1", &new->sha1);
+ if (!silc_hash_alloc("sha1", &new->sha1)) {
+ silc_free(new);
+ SILC_LOG_ERROR(("Could not allocate sha1 hash, probably not registered"));
+ return NULL;
+ }
new->devrandom = strdup("/dev/random");
*
* SYNOPSIS
*
- * int silc_socket_read(SilcSocketConnection sock);
+ * int silc_socket_write(SilcSocketConnection sock);
*
* DESCRIPTION
*
* DESCRIPTION
*
* Returns human readable error message into the `error' buffer if
- * the socket is int error status. Returns TRUE if error message was
+ * the socket is in error status. Returns TRUE if error message was
* written into the buffer and FALSE if there is not socket error.
*
***/