version 1.6, 1997/06/29 21:46:02 |
version 1.7, 1998/02/27 12:07:36 |
|
|
if( ihe ) { |
if( ihe ) { |
Ihe = *ihe; |
Ihe = *ihe; |
ihe = &Ihe; |
ihe = &Ihe; |
sprintf(line, "%s", ihe->isoh_hname); |
snprintf(line, sizeof line, "%s", ihe->isoh_hname); |
} else { |
} else { |
sprintf(line, "%s", iso_ntoa(iso)); |
snprintf(line, sizeof line, "%s", iso_ntoa(iso)); |
} |
} |
} else { |
} else { |
sprintf(line, "*"); |
snprintf(line, sizeof line, "*"); |
} |
} |
return line; |
return line; |
} |
} |
|
|
ihe = &Ihe; |
ihe = &Ihe; |
} |
} |
if( ihe && (strlen(ihe->isoh_aname)>0) ) { |
if( ihe && (strlen(ihe->isoh_aname)>0) ) { |
sprintf(cp, "%s", ihe->isoh_aname); |
snprintf(cp, line + sizeof line - cp, "%s", |
|
ihe->isoh_aname); |
} else { |
} else { |
iso_sprinttsel(cp, sufx, sufxlen); |
iso_sprinttsel(cp, sufx, sufxlen); |
} |
} |
} else |
} else |
sprintf(cp, "*"); |
snprintf(cp, line + sizeof line - cp, "*"); |
/* |
/* |
fprintf(stdout, Aflag?" %-18.18s":" %-22.22s", line); |
fprintf(stdout, Aflag?" %-18.18s":" %-22.22s", line); |
*/ |
*/ |