Removed spurious #define TEST and fixed up a couple of printfs.
This commit is contained in:
@@ -213,7 +213,7 @@ void handler_read_property_multiple(
|
|||||||
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
|
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
|
||||||
error = BACNET_STATUS_ABORT;
|
error = BACNET_STATUS_ABORT;
|
||||||
#if PRINT_ENABLED
|
#if PRINT_ENABLED
|
||||||
printf("RPM: Segmented message. Sending Abort!\r\n");
|
fprintf(stderr, "RPM: Segmented message. Sending Abort!\r\n");
|
||||||
#endif
|
#endif
|
||||||
goto RPM_FAILURE;
|
goto RPM_FAILURE;
|
||||||
}
|
}
|
||||||
@@ -244,7 +244,7 @@ void handler_read_property_multiple(
|
|||||||
len, sizeof(Handler_Transmit_Buffer));
|
len, sizeof(Handler_Transmit_Buffer));
|
||||||
if (!copy_len) {
|
if (!copy_len) {
|
||||||
#if PRINT_ENABLED
|
#if PRINT_ENABLED
|
||||||
printf("RPM: Response too big!\r\n");
|
fprintf(stderr, "RPM: Response too big!\r\n");
|
||||||
#endif
|
#endif
|
||||||
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
|
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
|
||||||
error = BACNET_STATUS_ABORT;
|
error = BACNET_STATUS_ABORT;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#define TEST
|
|
||||||
/*####COPYRIGHTBEGIN####
|
/*####COPYRIGHTBEGIN####
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
Copyright (C) 2005 Steve Karg
|
Copyright (C) 2005 Steve Karg
|
||||||
|
|||||||
Reference in New Issue
Block a user