summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2009-04-21 12:52:22 -0400
committerColin Walters <walters@verbum.org>2009-04-21 13:10:10 -0400
commit3c89788fa483ebda858ab66797e2834af94b798f (patch)
treedc3d2966b04560366edc10e6245442a1bd7f1ca7 /dbus/dbus-transport.c
parent83d7da43c40b913838917ff79d799dba69812b69 (diff)
Bug 19502 - Sparse warning cleanups
This patch makes various things that should be static static, corrects some "return FALSE" where it should be NULL, etc. Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index 90291980..35b7027d 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -242,7 +242,7 @@ check_address (const char *address, DBusError *error)
_dbus_assert (*address != '\0');
if (!dbus_parse_address (address, &entries, &len, error))
- return FALSE; /* not a valid address */
+ return NULL; /* not a valid address */
for (i = 0; i < len; i++)
{