From 1189e23491843d594ccddb82b31ba4c43353ec9c Mon Sep 17 00:00:00 2001 From: C5pider <51360176+Cracked5pider@users.noreply.github.com> Date: Fri, 1 Dec 2023 06:41:28 +0100 Subject: [PATCH] Revert "Iterate to next non-null dowloand item instead of breaking for loop" --- payloads/Demon/Source/Core/Download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/Demon/Source/Core/Download.c b/payloads/Demon/Source/Core/Download.c index 78620ad..fae2ddd 100644 --- a/payloads/Demon/Source/Core/Download.c +++ b/payloads/Demon/Source/Core/Download.c @@ -220,7 +220,7 @@ VOID DownloadPush() { DownLast->Next = Download->Next; DownloadFree( Download ); - Download = DownLast->Next;//Iterate to next non-null item Just Like the code `Socket = SkLast->Next;` located in Socket.c - void SocketCleanDead() + DownLast = NULL; } } else