From e77ab395a30b2eb44d1b6f798d725a8697ead57e Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 6 Jun 2007 18:43:44 +0000 Subject: [PATCH] Fixed line endings. --- bacnet-stack/cov.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bacnet-stack/cov.c b/bacnet-stack/cov.c index 790c1714..12a03a75 100644 --- a/bacnet-stack/cov.c +++ b/bacnet-stack/cov.c @@ -365,8 +365,8 @@ int cov_subscribe_decode_service_request(uint8_t * apdu, &data->monitoredObjectIdentifier.instance); data->monitoredObjectIdentifier.type = decoded_type; } else - return -1; - /* optional parameters - if missing, means cancellation */ + return -1; + /* optional parameters - if missing, means cancellation */ if (len > apdu_len) { /* tag 2 - issueConfirmedNotifications - optional */ if (decode_is_context_tag(&apdu[len], 2)) { @@ -378,7 +378,7 @@ int cov_subscribe_decode_service_request(uint8_t * apdu, decode_context_boolean(&apdu[len]); len += len_value; } else { - data->cancellationRequest = true; + data->cancellationRequest = true; } /* tag 3 - lifetime - optional */ if (decode_is_context_tag(&apdu[len], 3)) { @@ -388,10 +388,10 @@ int cov_subscribe_decode_service_request(uint8_t * apdu, len += decode_unsigned(&apdu[len], len_value, &decoded_value); data->lifetime = decoded_value; } else - data->lifetime = 0; - } else { - data->cancellationRequest = true; - } + data->lifetime = 0; + } else { + data->cancellationRequest = true; + } } return len;