Ignore:
Timestamp:
Nov 4, 2007, 3:16:40 AM (17 years ago)
Author:
Bruno Cornec
Message:

Update to busybox 1.7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi-busybox/archival/libunarchive/filter_accept_reject_list.c

    r821 r1765  
    66 */
    77
    8 #include <stdlib.h>
     8#include "libbb.h"
    99#include "unarchive.h"
    1010
     
    1515{
    1616    const char *key = archive_handle->file_header->name;
    17     const llist_t *reject_entry = find_list_entry(archive_handle->reject, key);
     17    const llist_t *reject_entry = find_list_entry2(archive_handle->reject, key);
    1818    const llist_t *accept_entry;
    1919
    2020    /* If the key is in a reject list fail */
    2121    if (reject_entry) {
    22         return(EXIT_FAILURE);
     22        return EXIT_FAILURE;
    2323    }
    24     accept_entry = find_list_entry(archive_handle->accept, key);
     24    accept_entry = find_list_entry2(archive_handle->accept, key);
    2525
    2626    /* Fail if an accept list was specified and the key wasnt in there */
    2727    if ((accept_entry == NULL) && archive_handle->accept) {
    28         return(EXIT_FAILURE);
     28        return EXIT_FAILURE;
    2929    }
    3030
    3131    /* Accepted */
    32     return(EXIT_SUCCESS);
     32    return EXIT_SUCCESS;
    3333}
Note: See TracChangeset for help on using the changeset viewer.