Add return value

SVN revision: 24272
This commit is contained in:
sebastid 2006-07-28 11:37:55 +00:00 committed by sebastid
parent 8d2e09c7d7
commit aaea1b4bc1
1 changed files with 2 additions and 2 deletions

View File

@ -249,13 +249,13 @@ _e_thumb_valid(E_Thumb *eth)
time_t mtime_orig, mtime_thumb;
id = _e_thumb_file_id(eth->file, eth->key);
if (!id) return;
if (!id) return 0;
td = strdup(id);
if (!td)
{
free(id);
return;
return 0;
}
td[2] = 0;