|
Lines 450-456
Link Here
|
| 450 |
case PCAPERR_TCLOOP: |
450 |
case PCAPERR_TCLOOP: |
| 451 |
fatal(pp, "%s", pcaperr(stat)); |
451 |
fatal(pp, "%s", pcaperr(stat)); |
| 452 |
} |
452 |
} |
| 453 |
acctfile = pp->acct_file; |
453 |
if ((acctfile = pp->acct_file) == NULL) { |
|
|
454 |
printf("pac: accounting not enabled for %s\n", s); |
| 455 |
exit(3); |
| 456 |
} |
| 454 |
if (!pflag && pp->price100) |
457 |
if (!pflag && pp->price100) |
| 455 |
price = pp->price100/10000.0; |
458 |
price = pp->price100/10000.0; |
| 456 |
sumfile = (char *) calloc(sizeof(char), strlen(acctfile)+5); |
459 |
sumfile = (char *) calloc(sizeof(char), strlen(acctfile)+5); |