Skip to content

Commit

Permalink
Add blank defaults for host and port
Browse files Browse the repository at this point in the history
Non-initialized values were causing segfaults.
  • Loading branch information
newsch committed May 27, 2019
1 parent 78ff00c commit 9e27572
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend.c
Expand Up @@ -312,6 +312,8 @@ int main(int argc, char *argv[]) {
.use_stdin = false,
.filename = DEFAULT_FILEPATH,
.connect_remote = false,
.remote_host = "",
.remote_port = "",
};

// parse arguments, init state
Expand Down

0 comments on commit 9e27572

Please sign in to comment.