Removed spurious #define TEST and fixed up a couple of printfs.

This commit is contained in:
petermcs
2010-06-10 21:20:47 +00:00
parent 7b77fe776a
commit 404eaa01d0
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -213,7 +213,7 @@ void handler_read_property_multiple(
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
error = BACNET_STATUS_ABORT;
#if PRINT_ENABLED
printf("RPM: Segmented message. Sending Abort!\r\n");
fprintf(stderr, "RPM: Segmented message. Sending Abort!\r\n");
#endif
goto RPM_FAILURE;
}
@@ -244,7 +244,7 @@ void handler_read_property_multiple(
len, sizeof(Handler_Transmit_Buffer));
if (!copy_len) {
#if PRINT_ENABLED
printf("RPM: Response too big!\r\n");
fprintf(stderr, "RPM: Response too big!\r\n");
#endif
rpmdata.error_code = ERROR_CODE_ABORT_SEGMENTATION_NOT_SUPPORTED;
error = BACNET_STATUS_ABORT;
-1
View File
@@ -1,4 +1,3 @@
#define TEST
/*####COPYRIGHTBEGIN####
-------------------------------------------
Copyright (C) 2005 Steve Karg