Remove the credentials argument from g_unix_connect_send_credentials()

Instead, make it always send the current credentials.
This commit is contained in:
Matthias Clasen
2010-05-13 14:25:29 -04:00
parent 33952347ff
commit 9e90b381f5
3 changed files with 8 additions and 12 deletions

View File

@@ -612,7 +612,6 @@ _g_dbus_auth_run_client (GDBusAuth *auth,
{
credentials = g_credentials_new ();
if (!g_unix_connection_send_credentials (G_UNIX_CONNECTION (auth->priv->stream),
credentials,
cancellable,
error))
goto out;
@@ -641,7 +640,7 @@ _g_dbus_auth_run_client (GDBusAuth *auth,
debug_print ("CLIENT: didn't send any credentials");
}
/* TODO: to reduce rountrips, try to pick an auth mechanism to start with */
/* TODO: to reduce roundtrips, try to pick an auth mechanism to start with */
/* Get list of supported authentication mechanisms */
s = "AUTH\r\n";