Minor optimization in _dbus_getsid().
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 10 Feb 2015 15:21:34 +0000 (16:21 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 11 Feb 2015 11:57:49 +0000 (11:57 +0000)
commit4a3943972798989f433c30394d3349d10c0d0827
tree6e041d75f16a7f3294be9ddb6a02db37f78fe8f8
parent87d40ec9508e75fbc6076e3e3b3ad7bedf6909bf
Minor optimization in _dbus_getsid().

MSDN recommands to use GetCurrentProcess() for current process.

Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445
dbus/dbus-sysdeps-win.c