mirror of
https://github.com/strophe/libstrophe.git
synced 2026-08-04 19:06:22 +00:00
conn: fixed indentations
This commit is contained in:
@@ -72,8 +72,8 @@ xmpp_conn_t *xmpp_conn_new(xmpp_ctx_t * const ctx)
|
||||
xmpp_connlist_t *tail, *item;
|
||||
|
||||
if (ctx == NULL) return NULL;
|
||||
conn = xmpp_alloc(ctx, sizeof(xmpp_conn_t));
|
||||
|
||||
conn = xmpp_alloc(ctx, sizeof(xmpp_conn_t));
|
||||
if (conn != NULL) {
|
||||
conn->ctx = ctx;
|
||||
|
||||
@@ -747,7 +747,8 @@ void conn_open_stream(xmpp_conn_t * const conn)
|
||||
"xmlns:stream=\"%s\">",
|
||||
conn->domain,
|
||||
conn->lang,
|
||||
conn->type == XMPP_CLIENT ? XMPP_NS_CLIENT : XMPP_NS_COMPONENT,
|
||||
conn->type == XMPP_CLIENT ? XMPP_NS_CLIENT :
|
||||
XMPP_NS_COMPONENT,
|
||||
XMPP_NS_STREAMS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user