]> git.ipfire.org Git - pakfire.git/commitdiff
httpclient: Remove resetting a pointer
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 15:45:29 +0000 (15:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Feb 2025 15:45:29 +0000 (15:45 +0000)
I don't think we need to do this here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/httpclient.c

index 5eb578ce5686d470b06d988612e0e70abab0f2b8..e45371646eba6a3861318e7ba03cba71fd1c0f85 100644 (file)
@@ -301,8 +301,6 @@ static int pakfire_httpclient_check(struct pakfire_httpclient* self) {
                                // Remove the xfer from the queue
                                pakfire_httpclient_dequeue(self, xfer);
 
-                               // Reset transfer
-                               xfer = NULL;
                                break;
 
                        default: