summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-07-14 20:17:28 +0200
committerHarald Welte <laforge@gnumonks.org>2013-07-14 20:17:28 +0200
commitca9be44bb521121a833a3e73e9739ea776c718f5 (patch)
treec7a1b0eaebca8aad0928f72b3b7c1f38b2ddbd9e
parent43fc24b24f96b3d8dd5abb69f668ac1ddb82c070 (diff)
map_helper: fix typo / copy+paste error
-rw-r--r--src/map_helper.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map_helper.erl b/src/map_helper.erl
index a2e7ebf..2b20986 100644
--- a/src/map_helper.erl
+++ b/src/map_helper.erl
@@ -135,7 +135,7 @@ postproc_msisdn(In, pre) ->
map_codec:encode_map_tbcd(In).
-rec4op({local, ?MAP_OP_SEND_IDENTIFICATION}) -> 'UpdateLocation';
+rec4op({local, ?MAP_OP_UPDATE_LOCATION}) -> 'UpdateLocation';
rec4op({local, ?MAP_OP_CANCEL_LOCATION}) -> 'CancelLocation';
rec4op({local, ?MAP_OP_PURGE_MS}) -> 'PurgeMS-';
rec4op({local, ?MAP_OP_SEND_IDENTIFICATION}) -> 'SendIdentification';
@@ -198,7 +198,7 @@ encode_op({local, Op}, ArgRes, Dec) ->
{error, Err};
TypePrefix ->
RecType = list_to_atom(TypePrefix ++ argres(ArgRes)),
- map_only_encode(RecType, Dec)
+ map_only:encode(RecType, Dec)
end.
timer4op({local, Op}) when is_integer(Op) ->