Ensure a minimum number of chars in the episode descriptions when hashing.

This commit is contained in:
Adam Sutton 2012-06-24 14:56:54 +01:00
parent 2400a532f2
commit 9ae0ac209f

View file

@ -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;
}