Skip to content

Commit a1edcd0

Browse files
committed
Added trailing characters to "no token" string to preserve proper truncation
1 parent ae1677a commit a1edcd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eng_back.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ static void *ctx_try_load_object(ENGINE_CTX *ctx,
472472
if (slot->token->readOnly)
473473
strcat(flags, "ro, ");
474474
} else {
475-
strcpy(flags, "no token");
475+
strcpy(flags, "no token, ");
476476
}
477477
if ((m = strlen(flags)) != 0) {
478478
flags[m - 2] = '\0';

0 commit comments

Comments
 (0)