Skip to content

Commit

Permalink
fix hurl dump with port
Browse files Browse the repository at this point in the history
bug
  • Loading branch information
jjunk1989 authored Oct 31, 2024
1 parent 0cfc3c1 commit 8b30f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpputil/hurl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const std::string& HUrl::dump() {
if (port != 80 && port != 443) {
char buf[16] = {0};
snprintf(buf, sizeof(buf), ":%d", port);
url += port;
url += buf;
}
}
// /path
Expand Down

0 comments on commit 8b30f52

Please sign in to comment.