summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands-wms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands-wms.c b/commands-wms.c
index 345b812..e3bcbc8 100644
--- a/commands-wms.c
+++ b/commands-wms.c
@@ -512,7 +512,7 @@ pdu_encode_semioctet(unsigned char *dest, const char *str)
str++;
}
- return len;
+ return lower ? len : (len + 1);
}
static int