aboutsummaryrefslogtreecommitdiff
path: root/client/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/parse.cpp')
-rw-r--r--client/parse.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/parse.cpp b/client/parse.cpp
index 300df7c..f31e802 100644
--- a/client/parse.cpp
+++ b/client/parse.cpp
@@ -138,8 +138,7 @@ static int parse_number(const char * str, char * data, size_t * offset) {
}
*offset += size;
- i += len;
- return i;
+ return len;
}
static int _strtodata_main(const char * str, char* data, size_t * offset) {