Explorar el Código

fix https://github.com/RT-Thread-packages/at_device/issues/173

Meco Man hace 4 años
padre
commit
2a7626e86d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/webclient.c

+ 1 - 1
src/webclient.c

@@ -1151,7 +1151,7 @@ int webclient_shard_position_function(struct webclient_session *session, const c
         data_len = webclient_response(session, (void **)&buffer, &resp_len);
         if(data_len > 0)
         {
-            start_position += mem_size;
+            start_position += data_len;
             result = session->handle_function(buffer, data_len);
             if(result != RT_EOK)
             {