added comment
This commit is contained in:
@@ -3,7 +3,9 @@ CC = gcc
|
|||||||
BASEDIR = .
|
BASEDIR = .
|
||||||
#CFLAGS = -Wall -I.
|
#CFLAGS = -Wall -I.
|
||||||
# -g for debugging with gdb
|
# -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
|
CFLAGS = -Wall -I. -g
|
||||||
|
|
||||||
SRCS = ports/linux/main.c \
|
SRCS = ports/linux/main.c \
|
||||||
|
|||||||
@@ -138,6 +138,9 @@ int wp_decode_service_request(
|
|||||||
else
|
else
|
||||||
return -1;
|
return -1;
|
||||||
// Tag 4: optional Priority
|
// 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)
|
if (len < apdu_len)
|
||||||
{
|
{
|
||||||
len += decode_tag_number_and_value(&apdu[len],&tag_number,
|
len += decode_tag_number_and_value(&apdu[len],&tag_number,
|
||||||
|
|||||||
Reference in New Issue
Block a user