Skip to content

Commit 6461410

Browse files
authored
fix string concat bug (#123)
1 parent 4791f76 commit 6461410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/net/inner/TcpConnectionImpl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ inline std::string certNameToRegex(const std::string &certName)
9898
if (ch == '.')
9999
result += "([^.]*\\.|)?";
100100
else
101-
result += "\\*" + ch;
101+
result += std::string("\\*") + ch;
102102
isStar = false;
103103
}
104104
}

0 commit comments

Comments
 (0)