~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib-storage/index/imapc/imapc-mail-fetch.c

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2011-2012 Dovecot authors, see the included COPYING file */
 
1
/* Copyright (c) 2011-2013 Dovecot authors, see the included COPYING file */
2
2
 
3
3
#include "lib.h"
4
4
#include "str.h"
48
48
                        "imapc: Mail prefetch failed: %s", reply->text_full);
49
49
        }
50
50
        pool_unref(&mail->imail.mail.pool);
51
 
        imapc_client_stop(mbox->storage->client);
 
51
        imapc_client_stop(mbox->storage->client->client);
52
52
}
53
53
 
54
54
static int
267
267
        filter_input = i_stream_create_header_filter(*input,
268
268
                HEADER_FILTER_EXCLUDE,
269
269
                imapc_hide_headers, N_ELEMENTS(imapc_hide_headers),
270
 
                null_header_filter_callback, NULL);
 
270
                *null_header_filter_callback, (void *)NULL);
271
271
        i_stream_unref(input);
272
272
        *input = filter_input;
273
273
}
407
407
        if (!match) {
408
408
                /* this is only a FETCH FLAGS update for the wanted mail */
409
409
        } else {
410
 
                imapc_client_stop(mbox->storage->client);
 
410
                imapc_client_stop(mbox->storage->client->client);
411
411
        }
412
412
}