dbus/dbus dbus-sysdeps.c,1.93,1.94
Colin Walters
walters at freedesktop.org
Wed Jun 15 12:33:07 PDT 2005
Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv29979/dbus
Modified Files:
dbus-sysdeps.c
Log Message:
2005-06-15 Colin Walters <walters at verbum.org>
* dbus/dbus-sysdeps.c <HAVE_CMSGCRED> (_dbus_read_credentials_unix_socket):
Fix call to dbus_set_error. (Patch from Michael Banck, #3461)
Index: dbus-sysdeps.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- dbus-sysdeps.c 15 Jun 2005 15:59:57 -0000 1.93
+++ dbus-sysdeps.c 15 Jun 2005 19:33:04 -0000 1.94
@@ -864,8 +864,8 @@
#ifdef HAVE_CMSGCRED
if (cmsg->cmsg_len < sizeof (cmsgmem) || cmsg->cmsg_type != SCM_CREDS)
{
- dbus_set_error (error, DBUS_ERROR_FAILED);
- _dbus_verbose ("Message from recvmsg() was not SCM_CREDS\n");
+ dbus_set_error (error, DBUS_ERROR_FAILED,
+ "Message from recvmsg() was not SCM_CREDS");
return FALSE;
}
#endif
More information about the dbus-commit
mailing list