xmpp non sasl authenticate does not need the resource name
authorArt Cancro <ajc@citadel.org>
Wed, 19 Dec 2018 05:13:23 +0000 (00:13 -0500)
committerArt Cancro <ajc@citadel.org>
Wed, 19 Dec 2018 05:13:23 +0000 (00:13 -0500)
citadel/modules/xmpp/serv_xmpp.c
citadel/modules/xmpp/serv_xmpp.h
citadel/modules/xmpp/xmpp_sasl_service.c

index 7e42db01a3af37a1b0855338adf22f3663c259f0..d62bcfe468ee99ced792b01fde6632897838bbb7 100644 (file)
@@ -392,8 +392,7 @@ void xmpp_xml_end(void *data, const char *supplied_el) {
                        xmpp_non_sasl_authenticate(
                                XMPP->iq_id,
                                XMPP->iq_client_username,
-                               XMPP->iq_client_password,
-                               XMPP->iq_client_resource
+                               XMPP->iq_client_password
                        );
                }       
 
index 222c8f79ff738cea78182c4559e79221831b8064..29ecd1207acc82da4a61defe7c70df36d7b9a148 100644 (file)
@@ -72,7 +72,7 @@ void xmpp_process_events(void);
 void xmpp_presence_notify(char *, int);
 void xmpp_roster_item(struct CitContext *);
 void xmpp_send_message(char *, char *);
-void xmpp_non_sasl_authenticate(char *, char *, char *, char *);
+void xmpp_non_sasl_authenticate(char *, char *, char *);
 void xmpp_massacre_roster(void);
 void xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster(void);
 int xmpp_is_visible(struct CitContext *from, struct CitContext *to_whom);
index ce2c8890bce65bbd332f435853deda65c314cd56..da76374987a8a1e81fa377d3a4207072f622a421 100644 (file)
@@ -147,7 +147,7 @@ void xmpp_sasl_auth(char *sasl_auth_mech, char *authstring) {
 /*
  * Non-SASL authentication
  */
-void xmpp_non_sasl_authenticate(char *iq_id, char *username, char *password, char *resource) {
+void xmpp_non_sasl_authenticate(char *iq_id, char *username, char *password) {
        int result;
        char xmlbuf[256];