Displaying 2 results from an estimated 2 matches for "client_find_storage".
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:
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...ALSE;
+ }
+
+ memset(&cfctx, 0, sizeof cfctx);
+ cfctx.ctx = ctx;
+ cfctx.url = url;
+
+ ctx->cmd->client->output_squelch = TRUE;
+
+ /* get the mailbox; if none in URL use the selected one */
+ if (dec_parts.mailbox) {
+ cfctx.mailbox = t_strdup(dec_parts.mailbox);
+ cfctx.storage = client_find_storage(ctx->cmd, &cfctx.mailbox);
+ if (cfctx.storage == NULL)
+ return catenate_fetch_cleanup(&cfctx, FALSE,
+ "can't find storage");
+ } else if (ctx->cmd->client->mailbox != NULL) {
+ cfctx.mailbox = mailbox_get_name(ctx->cmd->client->mailbox);...