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

« back to all changes in this revision

Viewing changes to src/lib-mail/message-id.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) 2006-2012 Dovecot authors, see the included COPYING file */
 
1
/* Copyright (c) 2006-2013 Dovecot authors, see the included COPYING file */
2
2
 
3
3
#include "lib.h"
4
4
#include "str.h"
21
21
           no-fold-literal = "[" *(dtext / quoted-pair) "]"
22
22
        */
23
23
 
24
 
        (void)rfc822_skip_lwsp(&parser);
 
24
        rfc822_skip_lwsp(&parser);
25
25
 
26
26
        if (*parser.data == '"')
27
27
                ret = rfc822_parse_quoted_string(&parser, msgid);
34
34
                return FALSE;
35
35
        str_append_c(msgid, '@');
36
36
        parser.data++;
37
 
        (void)rfc822_skip_lwsp(&parser);
 
37
        rfc822_skip_lwsp(&parser);
38
38
 
39
39
        if (rfc822_parse_dot_atom(&parser, msgid) <= 0)
40
40
                return FALSE;