diff --git a/programs/develop/libraries/http/examples/downloader.asm b/programs/develop/libraries/http/examples/downloader.asm index 9e96051ae0..b254e6d5da 100644 --- a/programs/develop/libraries/http/examples/downloader.asm +++ b/programs/develop/libraries/http/examples/downloader.asm @@ -183,8 +183,7 @@ save: mov ebp, [identifier] mov eax, [ebp + http_msg.content_received] mov [final_size], eax - lea ebx, [ebp + http_msg.data] - add ebx, [ebp + http_msg.header_length] + mov ebx, [ebp + http_msg.content_ptr] mov [final_buffer], ebx mcall 70, fileinfo