]> git.ipfire.org Git - pakfire.git/commitdiff
file: Remove forgotten debug statements
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 17 Mar 2023 13:14:39 +0000 (13:14 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 17 Mar 2023 13:14:39 +0000 (13:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/file.c

index 1da33fbfd786da25bac6bf4388685f0b25b04a55..a4ad3306c5d92b679593e7201b9f5c33067d9088 100644 (file)
@@ -1003,8 +1003,6 @@ int pakfire_file_payload_matches(struct pakfire_file* file,
        if (!f)
                goto ERROR;
 
-       printf("needle = %.*s\n", length, (const char*)needle);
-
        while (!feof(f)) {
                size_t bytes_read = fread(buffer, 1, sizeof(buffer), f);
 
@@ -1016,7 +1014,6 @@ int pakfire_file_payload_matches(struct pakfire_file* file,
 
                // Search for the needle
                p = memmem(buffer, bytes_read, needle, length);
-               printf("p = %p\n", p);
                if (p) {
                        r = 1;
                        goto ERROR;