mirror of
https://github.com/sheumann/hush.git
synced 2025-01-13 06:30:09 +00:00
remove some printf statements i forgot about
This commit is contained in:
parent
1c6917d2c4
commit
bd7c67136a
3
ar.c
3
ar.c
@ -175,7 +175,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
|||||||
list = (headerL_t *) malloc(sizeof(headerL_t));
|
list = (headerL_t *) malloc(sizeof(headerL_t));
|
||||||
|
|
||||||
if (checkArMagic(srcFd)==TRUE) {
|
if (checkArMagic(srcFd)==TRUE) {
|
||||||
printf("found ar header ");
|
|
||||||
while(readArEntry(srcFd, list) == TRUE) {
|
while(readArEntry(srcFd, list) == TRUE) {
|
||||||
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
||||||
*list->next = *head;
|
*list->next = *head;
|
||||||
@ -187,8 +186,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
|||||||
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
printf("not an ar header\n");
|
|
||||||
return(head);
|
return(head);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,7 +175,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
|||||||
list = (headerL_t *) malloc(sizeof(headerL_t));
|
list = (headerL_t *) malloc(sizeof(headerL_t));
|
||||||
|
|
||||||
if (checkArMagic(srcFd)==TRUE) {
|
if (checkArMagic(srcFd)==TRUE) {
|
||||||
printf("found ar header ");
|
|
||||||
while(readArEntry(srcFd, list) == TRUE) {
|
while(readArEntry(srcFd, list) == TRUE) {
|
||||||
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
||||||
*list->next = *head;
|
*list->next = *head;
|
||||||
@ -187,8 +186,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
|||||||
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
printf("not an ar header\n");
|
|
||||||
return(head);
|
return(head);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user