map_helper: fix typo / copy+paste error

This commit is contained in:
Harald Welte 2013-07-14 20:17:28 +02:00
parent 43fc24b24f
commit ca9be44bb5
1 changed files with 2 additions and 2 deletions

View File

@ -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) ->