OSDN Git Service

Correct the buggy return instruction.
authorJing Yu <jingyu@google.com>
Thu, 18 Jun 2009 07:23:02 +0000 (00:23 -0700)
committerJing Yu <jingyu@google.com>
Thu, 18 Jun 2009 07:23:02 +0000 (00:23 -0700)
src/device.c

index b2941b5..93e8c3a 100644 (file)
@@ -721,7 +721,7 @@ static DBusMessage *get_service_attribute_value_reply(DBusMessage *msg, DBusConn
 
        reply = dbus_message_new_method_return(msg);
        if (!reply)
-               return;
+               return NULL;
        sdp_data_t *curr;
        sdp_list_t *ap = 0;
        for (; attr; attr = attr->next) {