From 762397858b667b0d891d5bf1fd25cf37ee2c49bd Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 14 Apr 2005 18:20:46 +0000 Subject: [PATCH] added comment --- bacnet-stack/Makefile | 4 +++- bacnet-stack/wp.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bacnet-stack/Makefile b/bacnet-stack/Makefile index 33bae380..0214289c 100644 --- a/bacnet-stack/Makefile +++ b/bacnet-stack/Makefile @@ -3,7 +3,9 @@ CC = gcc BASEDIR = . #CFLAGS = -Wall -I. # -g for debugging with gdb -#CFLAGS = -Wall -I. -g +#CFLAGS = -Wall -I. -O2 -g +# Note: you can strip out symbols using the strip command +# to get an idea of how big the compile really is. CFLAGS = -Wall -I. -g SRCS = ports/linux/main.c \ diff --git a/bacnet-stack/wp.c b/bacnet-stack/wp.c index d3b1d01a..f6e58a24 100644 --- a/bacnet-stack/wp.c +++ b/bacnet-stack/wp.c @@ -138,6 +138,9 @@ int wp_decode_service_request( else return -1; // Tag 4: optional Priority + // FIXME: if the property value is not easily sized here, + // then just have the application decode the property value + // and the priority if (len < apdu_len) { len += decode_tag_number_and_value(&apdu[len],&tag_number,