Skip to content

Commit

Permalink
Fix spurious newline in error message
Browse files Browse the repository at this point in the history
No other change.
  • Loading branch information
DemiMarie committed Jan 18, 2025
1 parent 6d65b0e commit 47f444a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/qrexec-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static void parse_connect(char *str, char **request_id,
if (token == NULL)
goto bad_c_param;
if ((size_t)(token - str) >= sizeof(struct service_params))
errx(1, "Invalid -c parameter (request_id too long, max %zu)\n",
errx(1, "Invalid -c parameter (request_id too long, max %zu)",
sizeof(struct service_params)-1);
*token = 0;
*request_id = str;
Expand Down

0 comments on commit 47f444a

Please sign in to comment.