aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-08 14:14:00 +0100
committerBadlop <badlop@process-one.net>2022-02-11 09:39:09 +0100
commite63e8a6d3894f910495710da10348afc2dfebf6b (patch)
tree5973019a1b3b33f019052e7f9e3f9fdbea7852fd
parentSome dependencies are optional, check them in mix.exs (diff)
Fix typo introduced in 99fdba0, present since 16.01
-rw-r--r--mix.exs2
-rw-r--r--rebar.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/mix.exs b/mix.exs
index 728dbb2a9..dc075c0c7 100644
--- a/mix.exs
+++ b/mix.exs
@@ -97,7 +97,7 @@ defmodule Ejabberd.MixProject do
defp cond_options do
for {:true, option} <- [{config(:sip), {:d, :SIP}},
{config(:stun), {:d, :STUN}},
- {config(:roster_gateway_workaround), {:d, :ROSTER_GATWAY_WORKAROUND}},
+ {config(:roster_gateway_workaround), {:d, :ROSTER_GATEWAY_WORKAROUND}},
{config(:new_sql_schema), {:d, :NEW_SQL_SCHEMA}}
], do:
option
diff --git a/rebar.config b/rebar.config
index 08a73dd24..26f4d9e6b 100644
--- a/rebar.config
+++ b/rebar.config
@@ -111,7 +111,7 @@
{if_var_true, debug, debug_info},
{if_var_true, elixir, {d, 'ELIXIR_ENABLED'}},
{if_var_true, new_sql_schema, {d, 'NEW_SQL_SCHEMA'}},
- {if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}},
+ {if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATEWAY_WORKAROUND'}},
{if_var_true, sip, {d, 'SIP'}},
{if_var_true, stun, {d, 'STUN'}},
{if_have_fun, {erl_error, format_exception, 6}, {d, 'HAVE_ERL_ERROR'}},