Rename inputLen to inputLength
diff --git a/ndn-cpp/encoding/BinaryXMLDecoder.c b/ndn-cpp/encoding/BinaryXMLDecoder.c
index af512a0..5798364 100644
--- a/ndn-cpp/encoding/BinaryXMLDecoder.c
+++ b/ndn-cpp/encoding/BinaryXMLDecoder.c
@@ -12,7 +12,7 @@
   unsigned int value = 0;
   
 	while (1) {
-    if (self->offset >= self->inputLen)
+    if (self->offset >= self->inputLength)
       return "ndn_BinaryXMLDecoder_decodeTypeAndVal read past the end of the input";
     
 		unsigned int octet = (unsigned int)(self->input[self->offset++] & 0xff);