Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Sep 30, 2024
1 parent ec8c9ff commit 47a301f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,7 @@ nats_GetJWTOrSeed(char **val, const char *content, int item)
if (_isLineAnHeader(line, lineLen))
{
// Is this the item we were looking for?
if ((curItem == item) && (savedLen > 0))
if (curItem == item)
{
// Return a copy of the saved line
*val = NATS_CALLOC(savedLen + 1, 1);
Expand Down

0 comments on commit 47a301f

Please sign in to comment.