~ubuntu-branches/ubuntu/trusty/packagekit/trusty

« back to all changes in this revision

Viewing changes to lib/packagekit-glib2/pk-results.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Heinlein
  • Date: 2013-08-27 23:45:23 UTC
  • mfrom: (56.1.26 sid)
  • Revision ID: package-import@ubuntu.com-20130827234523-hm4d57mvdf5x17cg
Tags: 0.8.10-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  + Client tools alternatively depend on or recommend aptdaemon's
    compatibility layer
  + packagekit provides the virtual packagekit-system-interface
  + Add break on packagekit-plugin-click <= 0.3
  + Fix default url in vendor-ubuntu.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
564
564
        g_return_val_if_fail (PK_IS_RESULTS (results), NULL);
565
565
 
566
566
        /* failed, but no exit code? */
567
 
        if (results->priv->error_code == NULL && results->priv->exit_enum != PK_EXIT_ENUM_SUCCESS)
568
 
                g_warning ("internal error: failed, but no exit code: %s", pk_exit_enum_to_string (results->priv->exit_enum));
 
567
        if (results->priv->error_code == NULL && results->priv->exit_enum != PK_EXIT_ENUM_SUCCESS) {
 
568
                g_warning ("internal error: failed, but no error code: %s",
 
569
                           pk_exit_enum_to_string (results->priv->exit_enum));
 
570
                return NULL;
 
571
        }
569
572
 
570
573
        if (results->priv->error_code == NULL)
571
574
                return NULL;