Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

amf0:read_xml

  • Loading branch information...
commit b763f05166ae608ddb4016ca44954f479c4eb5b8 1 parent b1da337
@trung authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  temp/server/amf0.erl
View
3  temp/server/amf0.erl
@@ -84,8 +84,9 @@ read_long_string(Bin) ->
{ok, String} = utf8:from_binary(StringBin),
{ok, String, NextBin}.
+%% xml doc is long string
read_xml(Bin) ->
- {bad, {"Not yet implemented", ?MODULE, ?LINE, Bin}}.
+ read_long_string(Bin).
read_typed_object(Bin) ->
{bad, {"Not yet implemented", ?MODULE, ?LINE, Bin}}.
Please sign in to comment.
Something went wrong with that request. Please try again.