Permalink
Browse files

Use binaries for xml attribute names in the IQ macro

The IQ macro is only used by the IQ_GET and IQ_SET macros, which
are only used by the exmpp_client_pubsub and exmpp_client_disco modules.
  • Loading branch information...
1 parent 7f898a7 commit 79b4f8a8ca4e4566c6b5af62281590aefd1d6c73 @lmarlow lmarlow committed Jun 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/exmpp_xmpp.hrl
View
@@ -69,7 +69,7 @@
-define(IQ(Type, To, Id), (
exmpp_xml:set_attributes(
#xmlel{ns = ?NS_JABBER_CLIENT, name = 'iq'},
- [{'type', Type}, {'to', To}, {'id', Id}])
+ [{<<"type">>, Type}, {<<"to">>, To}, {<<"id">>, Id}])
)).
-define(IQ_GET(To, Id), (

0 comments on commit 79b4f8a

Please sign in to comment.