diff options
Diffstat (limited to 'lib/stream.ml')
-rw-r--r-- | lib/stream.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index 07bb21c..cc15c4b 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -2,7 +2,6 @@ open Lwt.Syntax open Markup exception ClosedStream -exception InvalidStanza of string type auth_mechanism = | PLAIN @@ -34,7 +33,7 @@ let get (stream : (signal, async) stream) : Xml.element Lwt.t = let* signal = next stream in match Xml.tree signal with | Some xml -> Lwt.return xml - | None -> Lwt.fail (InvalidStanza (signal |> write_xml |> to_string)) + | None -> Lwt.fail (Xml.InvalidStanza (signal |> write_xml |> to_string)) (** [parse_features el] is a [stream_features] record with all the features of the [<stream:features>] stanza contained in [el]. *) |