mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
improve coding style
This commit is contained in:
parent
8347dc705f
commit
373acdec18
1 changed files with 6 additions and 1 deletions
|
@ -91,7 +91,7 @@ public:
|
|||
if (strlen(uri) <= 0)
|
||||
throw InvalidUrlException();
|
||||
|
||||
Identifier sid = uri;//&uri[1];
|
||||
Identifier sid = uri;
|
||||
|
||||
auto it = sessions.find(sid);
|
||||
if (it == sessions.end()) {
|
||||
|
@ -284,6 +284,7 @@ void usage()
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/* Initialize logging */
|
||||
spdlog::stdout_color_mt("lws");
|
||||
lws_set_log_level((1 << LLL_COUNT) - 1, logger);
|
||||
|
||||
|
@ -303,15 +304,19 @@ int main(int argc, char *argv[])
|
|||
case 'p':
|
||||
ctx_info.port = strtoul(optarg, &endptr, 10);
|
||||
goto check;
|
||||
|
||||
case 'P':
|
||||
protocols[0].name = optarg;
|
||||
break;
|
||||
|
||||
case 'l':
|
||||
opts.loopback = true;
|
||||
break;
|
||||
|
||||
case 'V':
|
||||
villas::print_version();
|
||||
exit(EXIT_SUCCESS);
|
||||
|
||||
case 'h':
|
||||
case '?':
|
||||
usage();
|
||||
|
|
Loading…
Add table
Reference in a new issue