Skip to content

Commit 721e8e4

Browse files
committed
refactor: minor refactoring for &-concatenated strings
1 parent fbab533 commit 721e8e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cobj/cobj.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,6 +1817,7 @@ static void package_name_to_path(char *buff, char *package_name) {
18171817
*b_p = *p_p;
18181818
}
18191819
}
1820+
*b_p = '\0';
18201821
}
18211822

18221823
static int process_compile(struct filename *fn) {

0 commit comments

Comments
 (0)