Fix botch introduced by 561441320f0cb67ea97f81c59332da5c6d14b494
diff --git a/src/util.c b/src/util.c
index 74e6ec6..9ed1748 100644
--- a/src/util.c
+++ b/src/util.c
@@ -503,7 +503,7 @@
 			return -1;
 		      out[i] = strtol(&in[j*2], NULL, 16);
 		      mask = mask << 1;
-		      if (i++ == maxlen)
+		      if (++i == maxlen)
 			break; 
 		      if (j < bytes - 1)
 			in[(j+1)*2] = sav;