From 8130a50817016d5971f6e0fb1b14d620f3dd0e79 Mon Sep 17 00:00:00 2001 From: skarg Date: Mon, 12 Oct 2009 18:25:38 +0000 Subject: [PATCH] Enhanced a debug print statement. --- bacnet-stack/demo/handler/h_wp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/demo/handler/h_wp.c b/bacnet-stack/demo/handler/h_wp.c index f9b8a035..47040b4b 100644 --- a/bacnet-stack/demo/handler/h_wp.c +++ b/bacnet-stack/demo/handler/h_wp.c @@ -87,9 +87,10 @@ void handler_write_property( len = wp_decode_service_request(service_request, service_len, &wp_data); #if PRINT_ENABLED if (len > 0) - fprintf(stderr, "WP: type=%u instance=%u property=%u index=%d\n", + fprintf(stderr, + "WP: type=%u instance=%u property=%u priority=%u index=%d\n", wp_data.object_type, wp_data.object_instance, - wp_data.object_property, wp_data.array_index); + wp_data.object_property, wp_data.priority, wp_data.array_index); else fprintf(stderr, "WP: Unable to decode Request!\n"); #endif