~singpolyma/biboumi

df59a09163bd988ad4da533c4f39de057a3701ba — Florent Le Coz 10 years ago 9834770
Do not mismatch password and hostname in the config error help message
1 files changed, 2 insertions(+), 2 deletions(-)

M src/main.cpp
M src/main.cpp => src/main.cpp +2 -2
@@ 36,9 36,9 @@ int main(int ac, char** av)
  }
  const std::string hostname = Config::get("hostname", "");
  if (password.empty())
    return config_help("hostname");
  if (hostname.empty())
    return config_help("password");
  if (hostname.empty())
    return config_help("hostname");
  std::shared_ptr<XmppComponent> xmpp_component =
    std::make_shared<XmppComponent>(hostname, password);