From 72b1a63391f4784af329949a10d7e01eda0d53d9 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 13 Nov 2023 15:23:54 +0100 Subject: [PATCH] pua_xmpp: removed trailing spaces --- src/modules/pua_xmpp/pidf.c | 4 ++-- src/modules/pua_xmpp/pidf.h | 4 ++-- src/modules/pua_xmpp/pua_xmpp.c | 4 ++-- src/modules/pua_xmpp/pua_xmpp.h | 4 ++-- src/modules/pua_xmpp/request_winfo.c | 4 ++-- src/modules/pua_xmpp/request_winfo.h | 4 ++-- src/modules/pua_xmpp/simple2xmpp.h | 4 ++-- src/modules/pua_xmpp/xmpp2simple.c | 8 ++++---- src/modules/pua_xmpp/xmpp2simple.h | 4 ++-- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/modules/pua_xmpp/pidf.c b/src/modules/pua_xmpp/pidf.c index e9e072bcb23..4d64036cde2 100644 --- a/src/modules/pua_xmpp/pidf.c +++ b/src/modules/pua_xmpp/pidf.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/pidf.h b/src/modules/pua_xmpp/pidf.h index e10428ef076..a9e51390131 100644 --- a/src/modules/pua_xmpp/pidf.h +++ b/src/modules/pua_xmpp/pidf.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/pua_xmpp.c b/src/modules/pua_xmpp/pua_xmpp.c index 4945b503a58..31c16daf21e 100644 --- a/src/modules/pua_xmpp/pua_xmpp.c +++ b/src/modules/pua_xmpp/pua_xmpp.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/pua_xmpp.h b/src/modules/pua_xmpp/pua_xmpp.h index 5131f628da5..219868b21b7 100644 --- a/src/modules/pua_xmpp/pua_xmpp.h +++ b/src/modules/pua_xmpp/pua_xmpp.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/request_winfo.c b/src/modules/pua_xmpp/request_winfo.c index beffa9cd02e..045c8c1db97 100644 --- a/src/modules/pua_xmpp/request_winfo.c +++ b/src/modules/pua_xmpp/request_winfo.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/request_winfo.h b/src/modules/pua_xmpp/request_winfo.h index 55939eb6cd4..322174358ea 100644 --- a/src/modules/pua_xmpp/request_winfo.h +++ b/src/modules/pua_xmpp/request_winfo.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/simple2xmpp.h b/src/modules/pua_xmpp/simple2xmpp.h index 8e4cb9fba82..4ca51fe3d4a 100644 --- a/src/modules/pua_xmpp/simple2xmpp.h +++ b/src/modules/pua_xmpp/simple2xmpp.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/src/modules/pua_xmpp/xmpp2simple.c b/src/modules/pua_xmpp/xmpp2simple.c index 5c08d170c0a..54c645c1eb4 100644 --- a/src/modules/pua_xmpp/xmpp2simple.c +++ b/src/modules/pua_xmpp/xmpp2simple.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -43,7 +43,7 @@ int build_publish(xmlNodePtr pres_node, int expire); int presence_subscribe(xmlNodePtr pres_node, int expires, int flag); /* the function registered as a callback in xmpp, - * to be called when a new message with presence type is received + * to be called when a new message with presence type is received * */ void pres_Xmpp2Sip(char *msg, int type, void *param) @@ -438,7 +438,7 @@ int presence_subscribe(xmlNodePtr pres_node, int expires, int flag) type= XMLNodeGetAttrContentByName(pres_node, "type" ); if(strcmp(type, "subscribe")==0 ||strcmp(type, "probe")== 0) subs->flag|= INSERT_TYPE; - else + else if(strcmp(type, "unsubscribe")== 0) subs->flag|= UPDATE_TYPE; xmlFree(type); diff --git a/src/modules/pua_xmpp/xmpp2simple.h b/src/modules/pua_xmpp/xmpp2simple.h index 237807307ab..060224be637 100644 --- a/src/modules/pua_xmpp/xmpp2simple.h +++ b/src/modules/pua_xmpp/xmpp2simple.h @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */