Skip to content

Commit

Permalink
remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
amin committed Oct 11, 2020
1 parent aa35774 commit f8b0795
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ author_st()

if(isin(&els, "document-info"))
return;
for(al = descr.authors; al->next; al = al->next)
printf("author skipped\n");
for(al = descr.authors; al->next; al = al->next);
if(al->a == 0) {
al->a= emalloc(sizeof(Author));
memset(al->a, 0, sizeof(Author));
Expand Down Expand Up @@ -195,8 +194,7 @@ midname_dat(char *data)

if(isin(&els, "document-info"))
return;
for(al = descr.authors; al->next; al = al->next)
printf("!author skipped\n");
for(al = descr.authors; al->next; al = al->next);
al->a->middle = emalloc(strlen(data) + 1);
strcpy(al->a->middle, data);
return;
Expand Down

0 comments on commit f8b0795

Please sign in to comment.