From dac0a1f8933889fd94fed7fecdcc4ec6fb3a3fb0 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 17 Apr 2003 04:25:45 +0000 Subject: 2003-04-16 Havoc Pennington * doc/dbus-specification.sgml: make spec say serials are unsigned * dbus/dbus-message.h: change message serials to unsigned * dbus/dbus-connection.c: adapt to message serials being unsigned --- bus/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bus/driver.c') diff --git a/bus/driver.c b/bus/driver.c index c7d66d53..0d8b9442 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -620,7 +620,7 @@ bus_driver_handle_message (DBusConnection *connection, return FALSE; } - if (dbus_message_get_reply_serial (message) != -1) + if (dbus_message_get_reply_serial (message) != 0) { _dbus_verbose ("Client sent a reply to the bus driver, ignoring it\n"); return TRUE; -- cgit