summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 884697f..7e614aa 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1524,7 +1524,7 @@ static int check_if_empty(char **tag)
if (*tag == NULL || *tag[0] == '\0')
{
*tag = UNTAGGED;
- return 11; /* Tag length */
+ return sizeof(UNTAGGED); /* Tag length */
}
length = strlen(*tag);