~ubuntu-branches/ubuntu/wily/libimobiledevice/wily

« back to all changes in this revision

Viewing changes to src/userpref.c

  • Committer: Package Import Robot
  • Author(s): Julien Lavergne
  • Date: 2011-09-16 00:01:44 UTC
  • mfrom: (1.1.8 upstream) (6.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20110916000144-13otcnnzl0rapoly
Tags: 1.1.1-2
* Upload to unstable, most of the API should be stable now.
* debian/patches/
 - 02-add-missing-linking.patch: Refresh
 - 03_ac_pkg_swig_m4_fixed.patch: Fix building python bindings. Thanks
   Sebastian Ramacher for the patch (Closes: #631821).
 - 04_libplist_DSO_linking.patch: Add libplist to LDFLAGS.
* debian/control:
 - Build-depends on dh-autoreconf for 03_ac_pkg_swig_m4_fixed.patch.
 - Add DM-Upload-Allowed: yes
* debian/rules:
 - Run dh --with autoreconf for 03_ac_pkg_swig_m4_fixed.patch.
 - Remove .la files for python bindings also.
 - Remove .a files from python bindings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
        g_free(filepath);
329
329
 
330
330
        /* Add it to the gnutls_datnum_t structure */
331
 
        data->data = (uint8_t*) content;
332
 
        data->size = size;
 
331
        if (success) {
 
332
                data->data = (uint8_t*) content;
 
333
                data->size = size;
 
334
        }
333
335
 
334
336
        return success;
335
337
}