summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-03-14 10:27:46 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2009-03-14 10:27:46 -0300
commit1ac96952d178f9fbb6ba6865bd2c4912b36282dd (patch)
tree6cb18754e92a5ffb3ed2faef8a216f09ae9afd37
parenta6e265bcd65f95bf8ce2296091082b795f74eead (diff)
Fix device_get_ieee1284_id return value
-rw-r--r--cups/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/main.c b/cups/main.c
index 2589f829..6dcc6220 100644
--- a/cups/main.c
+++ b/cups/main.c
@@ -147,7 +147,7 @@ static char *device_get_ieee1284_id(const char *adapter, const char *device)
if (dbus_message_iter_get_arg_type(&reply_iter) != DBUS_TYPE_ARRAY) {
dbus_message_unref(reply);
- return FALSE;
+ return NULL;
}
dbus_message_iter_recurse(&reply_iter, &reply_iter_entry);