Changed return value to use common constant.

This commit is contained in:
skarg
2010-07-16 14:34:52 +00:00
parent 7852309f7e
commit 16cb7521df
+1 -1
View File
@@ -778,7 +778,7 @@ int Device_Read_Property_Local(
(rpdata->array_index != BACNET_ARRAY_ALL)) {
rpdata->error_class = ERROR_CLASS_PROPERTY;
rpdata->error_code = ERROR_CODE_PROPERTY_IS_NOT_AN_ARRAY;
apdu_len = -1;
apdu_len = BACNET_STATUS_ERROR;
}
return apdu_len;