summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-09-08 17:08:48 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-09-08 17:08:48 +0300
commitc29a48695d3d46e556aea2ea3c5fb8b558d43f7c (patch)
treeae3b0b163fe550b7083e1a6e7b5ed0d58506f2ed /tools
parentImprove pubsub code (diff)
Rename #error{} record to #stanza_error{}
Diffstat (limited to 'tools')
-rw-r--r--tools/xmpp_codec.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmpp_codec.spec b/tools/xmpp_codec.spec
index a11c8dd7..265bd6de 100644
--- a/tools/xmpp_codec.spec
+++ b/tools/xmpp_codec.spec
@@ -528,7 +528,7 @@
-xml(error,
#elem{name = <<"error">>,
xmlns = <<"jabber:client">>,
- result = {error, '$type', '$code', '$by', '$reason', '$text', '$_els'},
+ result = {stanza_error, '$type', '$code', '$by', '$reason', '$text', '$_els'},
attrs = [#attr{name = <<"type">>,
label = '$type',
required = true,