Browse Source

initialize missing Client member variables

tags/v1.4.0
Nils 4 years ago
parent
commit
24c28f5ef6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/nsmd.cpp

+ 3
- 1
src/nsmd.cpp View File

@@ -260,6 +260,8 @@ public:
executable_path = 0;
pre_existing = false;
launch_error = 0;
dirty = NULL;
status = "";
}

~Client ( )
@@ -544,7 +546,7 @@ get_client_by_address ( lo_address addr )
char *
generate_client_id ( void )
{
/* Before v1.4 this returned "n" + 4 random upper-case letters, which could lead to collisions.
/* Before v1.4 this returned "n" + 4 random upper-case letters, which could lead to collisions.
We changed behaviour to still generate 4 letters, but check for collision with existing IDs.

Loaded client IDs are not checked, just copied from session.nsm because loading happens before


Loading…
Cancel
Save