Do not shadow the global name 'accept'
authorEric Andersen <andersen@codepoet.org>
Mon, 15 Sep 2003 08:06:15 +0000 (08:06 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 15 Sep 2003 08:06:15 +0000 (08:06 -0000)
archival/dpkg.c

index 3288f7e636fe4d9def4f541d6cb7441d5fe94d57..eadc056eb5883611cb8dbafec149b2c25f1818d5 100644 (file)
@@ -1362,10 +1362,10 @@ static void init_archive_deb_data(archive_handle_t *ar_handle)
        return; 
 }
 
-static char *deb_extract_control_file_to_buffer(archive_handle_t *ar_handle, llist_t *accept)
+static char *deb_extract_control_file_to_buffer(archive_handle_t *ar_handle, llist_t *myaccept)
 {
        ar_handle->sub_archive->action_data = data_extract_to_buffer;
-       ar_handle->sub_archive->accept = accept;
+       ar_handle->sub_archive->accept = myaccept;
 
        unpack_ar_archive(ar_handle);
        close(ar_handle->src_fd);