dbus/dbus dbus-sysdeps.c,1.97,1.98

Havoc Pennington hp at freedesktop.org
Thu Aug 4 03:42:59 EST 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv22422/dbus

Modified Files:
	dbus-sysdeps.c 
Log Message:
2005-08-03  Havoc Pennington  <hp at redhat.com>

	* dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): fix
	typo, from Julien Puydt

	* bus/connection.c (bus_connection_disconnected): we were always
	doing a wait_for_memory due to a buggy loop, found by Timo Hoenig



Index: dbus-sysdeps.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- dbus-sysdeps.c	31 Jul 2005 02:09:15 -0000	1.97
+++ dbus-sysdeps.c	3 Aug 2005 17:42:56 -0000	1.98
@@ -892,7 +892,7 @@
     }
 
 #ifdef HAVE_CMSGCRED
-  if (cmsg->hdr.cmsg_len < sizeof (cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS)
+  if (cmsg.hdr.cmsg_len < sizeof (cmsg) || cmsg.hdr.cmsg_type != SCM_CREDS)
     {
       dbus_set_error (error, DBUS_ERROR_FAILED,
                       "Message from recvmsg() was not SCM_CREDS");



More information about the dbus-commit mailing list