From ca9be44bb521121a833a3e73e9739ea776c718f5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 14 Jul 2013 20:17:28 +0200 Subject: map_helper: fix typo / copy+paste error --- src/map_helper.erl | 4 ++-- 1 file 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) -> -- cgit v1.2.3