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

« back to all changes in this revision

Viewing changes to camel/camel-data-cache.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:
330
330
        hash = g_str_hash (key);
331
331
        hash = (hash >> 5) &CAMEL_DATA_CACHE_MASK;
332
332
        dir = alloca (strlen (cdc->priv->path) + strlen (path) + 8);
333
 
        sprintf(dir, "%s/%s/%02x", cdc->priv->path, path, hash);
 
333
        sprintf (dir, "%s/%s/%02x", cdc->priv->path, path, hash);
334
334
 
335
335
        if (g_access (dir, F_OK) == -1) {
336
336
                if (create)
347
347
        }
348
348
 
349
349
        tmp = camel_file_util_safe_filename (key);
350
 
        real = g_strdup_printf("%s/%s", dir, tmp);
 
350
        real = g_strdup_printf ("%s/%s", dir, tmp);
351
351
        g_free (tmp);
352
352
 
353
353
        return real;