diff options
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 1f8335e482..19e1a302b7 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3385,6 +3385,7 @@ parse_dir_server_line(const char *line, int validate_only) goto err; } addrport = smartlist_get(items, 0); + smartlist_del_keeporder(items, 0); if (parse_addr_port(LOG_WARN, addrport, &address, NULL, &dir_port)<0) { log_warn(LD_CONFIG, "Error parsing DirServer address '%s'", addrport); goto err; @@ -3393,7 +3394,6 @@ parse_dir_server_line(const char *line, int validate_only) log_warn(LD_CONFIG, "Missing port in DirServer address '%s'",addrport); goto err; } - smartlist_del_keeporder(items, 0); fingerprint = smartlist_join_strings(items, "", 0, NULL); if (strlen(fingerprint) != HEX_DIGEST_LEN) { |