* src/suffix.c (find_compression_suffix): Fix eventual coredump.
};
static struct compression_suffix const *
-find_compression_suffix (const char *name, size_t *base_len)
+find_compression_suffix (const char *name, size_t *ret_len)
{
char *suf = strrchr (name, '.');
{
if (p->length == len && memcmp (p->suffix, suf, len) == 0)
{
- if (*base_len)
- *base_len = strlen (name) - len - 1;
+ if (ret_len)
+ *ret_len = strlen (name) - len - 1;
return p;
}
}