Skip to content

Commit 3a56d68

Browse files
tleguernpasis
authored andcommitted
Convert active.c to the new helpers
1 parent 9de0293 commit 3a56d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/active.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void conn_handler(xmpp_conn_t * const conn, const xmpp_conn_event_t status,
5959
xmpp_stanza_set_name(iq, "iq");
6060
xmpp_stanza_set_type(iq, "get");
6161
xmpp_stanza_set_id(iq, "active1");
62-
xmpp_stanza_set_attribute(iq, "to", "xxxxxxxxx.com");
62+
xmpp_stanza_set_to(iq, "xxxxxxxxx.com");
6363

6464
query = xmpp_stanza_new(ctx);
6565
xmpp_stanza_set_name(query, "query");

0 commit comments

Comments
 (0)