All pastes #194790 Raw Edit

Stuff

public text v1 · immutable
·published 2006-10-08 08:26 UTC
rendered paste body
void add_entry(struct zipentry *ze){
    if(ziplist == NULL){
        ziplist = ze;
        ziptail = ziplist;
    } else {
        ziplist->next_entry = ze;
        ziplist = ze;
    }

    number_of_entries++;
}