Skip to content

Commit

Permalink
fix typo that broke everything
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Sep 15, 2023
1 parent 0194d92 commit f63c88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int8_t _z_open(_z_session_t *zn, _z_config_t *config) {
if (config != NULL) {
_z_str_array_t locators = _z_str_array_empty();
char *connect = _z_config_get(config, Z_CONFIG_CONNECT_KEY);
char *listen = _z_config_get(config, Z_CONFIG_CONNECT_KEY);
char *listen = _z_config_get(config, Z_CONFIG_LISTEN_KEY);
if (connect == NULL && listen == NULL) { // Scout if peer is not configured
opt_as_str = _z_config_get(config, Z_CONFIG_SCOUTING_WHAT_KEY);
if (opt_as_str == NULL) {
Expand Down

0 comments on commit f63c88e

Please sign in to comment.