~cyphermox/ubuntu/quantal/evolution-data-server/autopkgtests

« back to all changes in this revision

Viewing changes to camel/providers/imapx/camel-imapx-server.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-09-19 12:15:29 UTC
  • mfrom: (1.1.93 upstream)
  • Revision ID: package-import@ubuntu.com-20110919121529-nsmfnges77ec7hux
Tags: 3.1.92-0ubuntu1
* New upstream release.
  - Cannot add more than one appointment per session (LP: #852277)
  - Contacts calendar backend doesn't show events (LP: #853905)
  - Set X-Evolution-Source header consistently (LP: #660626)

Show diffs side-by-side

added added

removed removed

Lines of Context:
843
843
 
844
844
                byte_array = camel_stream_mem_get_byte_array (ic->mem);
845
845
 
846
 
                if (g_str_has_prefix ((const gchar *) byte_array->data, "LOGIN")) {
 
846
                if (byte_array->len > 5 && g_ascii_strncasecmp ((const gchar *) byte_array->data, "LOGIN", 5)) {
847
847
                        c(ic->is->tagprefix, "completing command buffer is [%d] 'LOGIN...'\n", byte_array->len);
848
848
                } else {
849
849
                        c(ic->is->tagprefix, "completing command buffer is [%d] '%.*s'\n", byte_array->len, (gint)byte_array->len, byte_array->data);
3827
3827
                uidl++;
3828
3828
 
3829
3829
                if (uidl > ifolder->uidnext_on_server) {
3830
 
                        c(is->tagprefix, "Updating uidnext_on_server for '%s' to %lld\n",
 
3830
                        c(is->tagprefix, "Updating uidnext_on_server for '%s' to %" G_GUINT64_FORMAT "\n",
3831
3831
                          camel_folder_get_full_name (job->folder), uidl);
3832
3832
                        ifolder->uidnext_on_server = uidl;
3833
3833
                }
4104
4104
                uidl++;
4105
4105
 
4106
4106
                if (uidl > ifolder->uidnext_on_server) {
4107
 
                        c(is->tagprefix, "Updating uidnext_on_server for '%s' to %lld\n",
 
4107
                        c(is->tagprefix, "Updating uidnext_on_server for '%s' to %" G_GUINT64_FORMAT "\n",
4108
4108
                          camel_folder_get_full_name (ic->job->folder), uidl);
4109
4109
                        ifolder->uidnext_on_server = uidl;
4110
4110
                }
4161
4161
                uid = camel_folder_summary_uid_from_index (folder->summary, total - 1);
4162
4162
                uidl = strtoull (uid, NULL, 10);
4163
4163
                g_free (uid);
4164
 
                uid = g_strdup_printf("%lld", uidl+1);
 
4164
                uid = g_strdup_printf ("%" G_GUINT64_FORMAT, uidl+1);
4165
4165
        } else
4166
4166
                uid = g_strdup ("1");
4167
4167
 
4306
4306
        if (is->use_qresync && isum->modseq && ifolder->uidvalidity_on_server)
4307
4307
                can_qresync = TRUE;
4308
4308
 
4309
 
        e(is->tagprefix, "folder %s is %sselected, total %u / %u, unread %u / %u, modseq %llu / %llu, uidnext %u / %u: will %srescan\n",
 
4309
        e(is->tagprefix, "folder %s is %sselected, total %u / %u, unread %u / %u, modseq %" G_GUINT64_FORMAT " / %" G_GUINT64_FORMAT ", uidnext %u / %u: will %srescan\n",
4310
4310
          full_name, is_selected?"": "not ", total, ifolder->exists_on_server,
4311
4311
          folder->summary->unread_count, ifolder->unread_on_server,
4312
4312
          (guint64) isum->modseq, (guint64) ifolder->modseq_on_server,