diff options
author | Faidon Liambotis <paravoid@debian.org> | 2020-12-23 01:51:50 +0200 |
---|---|---|
committer | Faidon Liambotis <paravoid@debian.org> | 2020-12-23 01:51:50 +0200 |
commit | 8d4b3a4fcead0ca534b5d1c5a99ae2a4c95eee21 (patch) | |
tree | 005ce0e916b56a920b76021a3cf9dfb0016f1ecc /test | |
parent | 570861fc55ba38c1092fac1d555111bab4577b49 (diff) |
connect: convert a C-style string to std::string
Convert the fixed-size (300) char array "ServStr" to a std::string, and
simplify the code by removing snprintfs in the process.
While at it, rename to the more aptly named "ServiceNameOrPort" and
update the comment to reflect what this variable is meant to be.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions