aboutsummaryrefslogtreecommitdiff
path: root/portal/tcp/portal.ml
diff options
context:
space:
mode:
Diffstat (limited to 'portal/tcp/portal.ml')
-rw-r--r--portal/tcp/portal.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/portal/tcp/portal.ml b/portal/tcp/portal.ml
index 854f76c..0532c39 100644
--- a/portal/tcp/portal.ml
+++ b/portal/tcp/portal.ml
@@ -8,7 +8,7 @@ let xmlns = "jabber:client"
exception MalformedStanza of Markup.location * Markup.Error.t
-let negotiate ?from domain ((stream, push) : t) =
+let header ?from domain ((stream, push) : t) =
let stanza =
let attributes =
[(("", "to"), domain); (("", "version"), "1.0");