"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-auth.c" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Development version.

dbus-auth.c  (dbus-1.13.12.tar.xz):dbus-auth.c  (dbus-1.13.14.tar.xz)
skipping to change at line 1667 skipping to change at line 1667
if (!_dbus_string_copy (args_from_ok, 0, &DBUS_AUTH_CLIENT (auth)->guid_from_s erver, 0)) { if (!_dbus_string_copy (args_from_ok, 0, &DBUS_AUTH_CLIENT (auth)->guid_from_s erver, 0)) {
_dbus_string_set_length (& DBUS_AUTH_CLIENT (auth)->guid_from_server, 0); _dbus_string_set_length (& DBUS_AUTH_CLIENT (auth)->guid_from_server, 0);
return FALSE; return FALSE;
} }
_dbus_verbose ("Got GUID '%s' from the server\n", _dbus_verbose ("Got GUID '%s' from the server\n",
_dbus_string_get_const_data (& DBUS_AUTH_CLIENT (auth)->guid_fr om_server)); _dbus_string_get_const_data (& DBUS_AUTH_CLIENT (auth)->guid_fr om_server));
if (auth->unix_fd_possible) if (auth->unix_fd_possible)
return send_negotiate_unix_fd(auth); {
if (!send_negotiate_unix_fd (auth))
{
_dbus_string_set_length (& DBUS_AUTH_CLIENT (auth)->guid_from_server,
0);
return FALSE;
}
return TRUE;
}
_dbus_verbose("Not negotiating unix fd passing, since not possible\n"); _dbus_verbose("Not negotiating unix fd passing, since not possible\n");
return send_begin (auth);
if (!send_begin (auth))
{
_dbus_string_set_length (& DBUS_AUTH_CLIENT (auth)->guid_from_server, 0);
return FALSE;
}
return TRUE;
} }
static dbus_bool_t static dbus_bool_t
send_cancel (DBusAuth *auth) send_cancel (DBusAuth *auth)
{ {
if (_dbus_string_append (&auth->outgoing, "CANCEL\r\n")) if (_dbus_string_append (&auth->outgoing, "CANCEL\r\n"))
{ {
goto_state (auth, &client_state_waiting_for_reject); goto_state (auth, &client_state_waiting_for_reject);
return TRUE; return TRUE;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)