Skip to content

Commit

Permalink
query_get_string_answer: Remove duplicate line
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Friesse <[email protected]>
  • Loading branch information
jfriesse committed Apr 2, 2024
1 parent 0167d39 commit f3fe313
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ static int query_get_string_answer(cmd_request_t cmd)
rv = tpt->recv(site, data, data_len);
if (rv < 0)
goto out_close;
*(data+data_len) = '\0';

*(data + data_len) = '\0';
(void)fputs(data, stdout);
Expand Down

0 comments on commit f3fe313

Please sign in to comment.