Skip to content

Commit ca0f18e

Browse files
committed
vlogger: no need to duplicate the tag name from service path
1 parent 6d251bc commit ca0f18e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vlogger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ main(int argc, char *argv[])
9494
*p = '\0';
9595
if ((p = strrchr(pwd, '/')) && strncmp(p+1, "log", 3) == 0 &&
9696
(*p = '\0', (p = strrchr(pwd, '/'))) && (*(p+1) != '\0')) {
97-
tag = strdup(p+1);
97+
tag = p+1;
9898
}
9999
}
100100
}

0 commit comments

Comments
 (0)