diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-26 11:45:53 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-26 11:45:53 +0200 |
commit | cd1b5097d6683355bbe2b96add8740ffc738ef8f (patch) | |
tree | 1e7c31893468c7f05aa07e0836bf0fb58d820b0c /client/parse.cpp | |
parent | cad919018ed72005d2bc110247087201b0dea7ab (diff) |
fix another silly bug
Diffstat (limited to 'client/parse.cpp')
-rw-r--r-- | client/parse.cpp | 3 |
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) { |