output first recommendation in parsable mode

This commit is contained in:
hummypkg 2011-06-06 14:46:09 +00:00 committed by HummyPkg
parent 6144e4386e
commit 0af33919cb
2 changed files with 9 additions and 2 deletions

2
lint.h
View File

@ -54,7 +54,5 @@ unsigned char *freeview_huffman_to_string(const unsigned char *, uint,
int is_bst(time_t);
void bstise(time_t *);
#ifdef sun
char *strcasestr (char *, char *);
#endif

9
main.c
View File

@ -176,6 +176,15 @@ dump(struct epg *epg __attribute__((unused)),
else
printf("\t");
if (ds[PARSER_CRID_REC])
{
struct descriptor *d = ds[PARSER_CRID_REC];
printf("%.*s\t", d->content.d118.crids[0].cridlen,
d->content.d118.crids[0].crid);
}
else
printf("\t");
printf("\n");
return;
}