~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to camel/providers/imap/camel-imap-utils.c

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
        struct _namespaces *namespaces;
243
243
        const gchar *inptr;
244
244
 
245
 
        d(printf ("parsing: %s\n", response));
 
245
        d (printf ("parsing: %s\n", response));
246
246
 
247
247
        if (*response != '*')
248
248
                return NULL;
585
585
                        flags |= CAMEL_MESSAGE_SEEN;
586
586
                else if (!g_ascii_strncasecmp (flag_list, "\\Recent", len))
587
587
                        flags |= CAMEL_IMAP_MESSAGE_RECENT;
588
 
                else if (!g_ascii_strncasecmp(flag_list, "\\*", len))
 
588
                else if (!g_ascii_strncasecmp (flag_list, "\\*", len))
589
589
                        flags |= CAMEL_MESSAGE_USER | CAMEL_MESSAGE_JUNK | CAMEL_MESSAGE_NOTJUNK;
590
 
                else if (!g_ascii_strncasecmp(flag_list, "Junk", len))
 
590
                else if (!g_ascii_strncasecmp (flag_list, "Junk", len))
591
591
                        flags |= CAMEL_MESSAGE_JUNK;
592
 
                else if (!g_ascii_strncasecmp(flag_list, "NotJunk", len))
 
592
                else if (!g_ascii_strncasecmp (flag_list, "NotJunk", len))
593
593
                        flags |= CAMEL_MESSAGE_NOTJUNK;
594
 
                else if (!g_ascii_strncasecmp(flag_list, "$Label1", len) ||
595
 
                         !g_ascii_strncasecmp(flag_list, "$Label2", len) ||
596
 
                         !g_ascii_strncasecmp(flag_list, "$Label3", len) ||
597
 
                         !g_ascii_strncasecmp(flag_list, "$Label4", len) ||
598
 
                         !g_ascii_strncasecmp(flag_list, "$Label5", len)) {
 
594
                else if (!g_ascii_strncasecmp (flag_list, "$Label1", len) ||
 
595
                         !g_ascii_strncasecmp (flag_list, "$Label2", len) ||
 
596
                         !g_ascii_strncasecmp (flag_list, "$Label3", len) ||
 
597
                         !g_ascii_strncasecmp (flag_list, "$Label4", len) ||
 
598
                         !g_ascii_strncasecmp (flag_list, "$Label5", len)) {
599
599
                        if (custom_flags) {
600
600
                                g_string_append (custom_flags, rename_label_flag (flag_list, len, TRUE));
601
601
                                g_string_append_c (custom_flags, ' ');
1439
1439
        p = vpath;
1440
1440
        while ((c = *p++)) {
1441
1441
                if (c == '/') {
1442
 
                        g_string_append(out, "/" SUBFOLDER_DIR_NAME "/");
 
1442
                        g_string_append (out, "/" SUBFOLDER_DIR_NAME "/");
1443
1443
                        while (*p == '/')
1444
1444
                                p++;
1445
1445
                } else
1493
1493
                if (dirent == NULL)
1494
1494
                        break;
1495
1495
 
1496
 
                file_path = g_strdup_printf ("%s/%s", subfolder_directory_path,
1497
 
                                             dirent);
 
1496
                file_path = g_strdup_printf (
 
1497
                        "%s/%s", subfolder_directory_path, dirent);
1498
1498
 
1499
1499
                if (g_stat (file_path, &file_stat) < 0 ||
1500
1500
                    !S_ISDIR (file_stat.st_mode)) {