|
@@ -1737,11 +1737,8 @@ imap_list( store_t *gctx,
|
|
void (*cb)( int sts, void *aux ), void *aux )
|
|
void (*cb)( int sts, void *aux ), void *aux )
|
|
{
|
|
{
|
|
imap_store_t *ctx = (imap_store_t *)gctx;
|
|
imap_store_t *ctx = (imap_store_t *)gctx;
|
|
- int ret;
|
|
|
|
|
|
|
|
- if ((ret = imap_exec_b( ctx, 0, "LIST \"\" \"%s%%\"", ctx->prefix )) == DRV_OK)
|
|
|
|
- gctx->listed = 1;
|
|
|
|
- cb( ret, aux );
|
|
|
|
|
|
+ cb( imap_exec_b( ctx, 0, "LIST \"\" \"%s%%\"", ctx->prefix ), aux );
|
|
}
|
|
}
|
|
|
|
|
|
static void
|
|
static void
|