/* This file is part of GNU tar.
- Copyright 2007, 2009, 2013 Free Software Foundation, Inc.
+ Copyright 2007, 2009, 2013-2014 Free Software Foundation, Inc.
Written by Sergey Poznyakoff.
};
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;
}
}