mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
minor improvements
This commit is contained in:
parent
fd7050a372
commit
6da1070e56
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ int memory_init(int hugepages)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (l.rlim_cur < pagesz * pagecnt) {
|
||||
if (l.rlim_cur < pagesz * pagecnt) { INDENT
|
||||
l.rlim_cur = pagesz * pagecnt;
|
||||
l.rlim_max = l.rlim_cur;
|
||||
|
||||
|
|
|
@ -556,7 +556,7 @@ char * websocket_print(struct node *n)
|
|||
for (size_t i = 0; i < list_length(&w->destinations); i++) {
|
||||
struct websocket_destination *d = list_at(&w->destinations, i);
|
||||
|
||||
buf = strcatf(&buf, "%s://%s:%d/%s ",
|
||||
buf = strcatf(&buf, "%s://%s:%d%s ",
|
||||
d->info.ssl_connection ? "wss" : "ws",
|
||||
d->info.address,
|
||||
d->info.port,
|
||||
|
|
Loading…
Add table
Reference in a new issue