~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

Viewing changes to libgimpbase/gimpwire.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-18 10:44:11 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218104411-p2c1aor6tfqcwkyw
Tags: 2.4.3-1ubuntu1
* Merge from Debian unstable. (LP: #177821)
* Ubuntu remaining changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Remove the doc directory symlink in the preinst, and replace it with a
    directory.
  - Added NEWS, README and README.Debian to gimp.docs.
  - Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
433
433
      if (tmp > 0)
434
434
        {
435
435
          data[i] = g_new (gchar, tmp);
 
436
 
436
437
          if (! _gimp_wire_read_int8 (channel,
437
438
                                      (guint8 *) data[i], tmp, user_data))
438
439
            {
439
440
              g_free (data[i]);
440
441
              return FALSE;
441
442
            }
 
443
 
 
444
          /*  make sure that the string is NULL-terminated  */
 
445
          data[i][tmp - 1] = '\0';
442
446
        }
443
447
      else
444
448
        {