Displaying 3 results from an estimated 3 matches for "client_read_string_args".
2004 Sep 04
1
1.0-test39
http://dovecot.org/test/
Fixes several crashes. Apparently can still break with mboxes, although
it works with me..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL:
2009 Jan 05
1
writing a dovecot plugin / segfault
...at the moment):
/* MYRIGHTS <folder>: retreive the rights of the current folder */
static bool cmd_myrights(struct client_command_context *cmd)
{
struct mail_storage *storage;
struct mailbox *folder;
const char *folder_name;
string_t *response;
/* read argument: <folder> */
if (!client_read_string_args(cmd, 1, &folder_name))
return FALSE;
/* work done from here... */
/* for the moment, do a dummy response */
str_append(response, "* MYRIGHTS ");
str_append(response, folder_name);
str_append(response, " lrswipcda");
client_send_line(cmd->client, str_c(re...
2009 Feb 18
1
v1.2 can't set ACL to empty string
Hi *,
according to RfC4314 the rights argument to the setacl command might be
an empty string ("zero right characters"):
The third argument is a string containing an optional plus ("+") or
minus ("-") prefix, followed by zero or more rights characters.
existing clients (horde in particular) actually use this to remove all
rights from an user.
Currently