diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tagcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 7e614aa..120b8fd 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -92,6 +92,7 @@ static const char tagcache_thread_name[] = "tagcache"; #endif #define UNTAGGED "<Untagged>" +#define SIZEOF_UNTAGGED 11 /* Including \0 */ /* Previous path when scanning directory tree recursively. */ static char curpath[TAG_MAXLEN+32]; @@ -1524,7 +1525,7 @@ static int check_if_empty(char **tag) if (*tag == NULL || *tag[0] == '\0') { *tag = UNTAGGED; - return sizeof(UNTAGGED); /* Tag length */ + return SIZEOF_UNTAGGED; /* Tag length */ } length = strlen(*tag); |