~vcs-imports/network-manager/trunk

Viewing all changes in revision 6362.

  • Committer: Dan Williams
  • Date: 2013-04-08 15:55:38 UTC
  • Revision ID: git-v1:72bdb5707e5103359c2b46d9d5f4e803a0438997
auth: move common nm_dbus_manager_get_caller_info() functionality into nm_auth_chain_new()

Most callers of nm_auth_chain_new() call nm_dbus_manager_get_caller_info()
right before that, so just fold the get_caller_info() call into
nm_auth_chain_new() to reduce code complexity in callers.  Yes, this
means sometimes we call nm_dbus_manager_get_caller_info() twice,
but that's not really a problem.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: