Ensure a minimum number of chars in the episode descriptions when hashing.
This commit is contained in:
parent
2400a532f2
commit
9ae0ac209f
1 changed files with 2 additions and 2 deletions
|
@ -1930,8 +1930,8 @@ void epg_query_sort(epg_query_result_t *eqr)
|
|||
/* Hash title/summary/description to form URI */
|
||||
char *epg_hash ( const char *t, const char *s, const char *d )
|
||||
{
|
||||
if ( d ) return md5sum(d);
|
||||
if ( s ) return md5sum(d);
|
||||
if ( d && strlen(d) > 10 ) return md5sum(d);
|
||||
if ( s && strlen(d) > 10 ) return md5sum(d);
|
||||
if ( t ) return md5sum(t);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue