Documentation changes for SASL ANONYMOUS.

This commit is contained in:
Jack Moffitt
2008-08-24 16:09:31 +00:00
parent 16ad3aabf7
commit 2b8691f154
2 changed files with 4 additions and 3 deletions

View File

@@ -769,7 +769,7 @@ static int _handle_features_sasl(xmpp_conn_t * const conn,
/* request a specific resource if we have one */
resource = xmpp_jid_resource(conn->ctx, conn->jid);
if ((resource != NULL) && (strlen(resource) == 0)) {
/* j2 doesn't handle an empty resource */
/* jabberd2 doesn't handle an empty resource */
xmpp_free(conn->ctx, resource);
resource = NULL;
}

View File

@@ -277,8 +277,9 @@ const char *xmpp_conn_get_jid(const xmpp_conn_t * const conn)
/** Set the JID of the user that will be bound to the connection.
* If any JID was previously set, it will be discarded. This should not be
* be used after a connection is bound. The function will make a copy of
* the JID string.
* be used after a connection is created. The function will make a copy of
* the JID string. If the supllied JID is missing the node, SASL
* ANONYMOUS authentication will be used.
*
* @param conn a Strophe connection object
* @param jid a full or bare JID