Skip to content

Commit

Permalink
remove a suprious trailing newline from a warning
Browse files Browse the repository at this point in the history
The warn function adds the newline(s) itself
  • Loading branch information
bagder committed May 15, 2024
1 parent 811d1d2 commit a987b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ static void get(struct option *o, CURLU *uh)
/* silently ignore */
break;
default:
trurl_warnf(o, "%s (%s)\n", curl_url_strerror(rc), v->name);
trurl_warnf(o, "%s (%s)", curl_url_strerror(rc), v->name);
break;
}
}
Expand Down

0 comments on commit a987b3d

Please sign in to comment.