From ddb8fc5af9ad8970f67e9c5c8d04a22093678ca2 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 13 Nov 2023 15:23:55 +0100 Subject: [PATCH] sms: removed trailing spaces --- src/modules/sms/libsms_charset.c | 2 +- src/modules/sms/libsms_charset.h | 2 +- src/modules/sms/libsms_getsms.c | 4 ++-- src/modules/sms/libsms_modem.h | 2 +- src/modules/sms/sms_funcs.c | 6 +++--- src/modules/sms/sms_funcs.h | 4 ++-- src/modules/sms/sms_report.c | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modules/sms/libsms_charset.c b/src/modules/sms/libsms_charset.c index 616ee32cab3..4ebfe65e7ae 100644 --- a/src/modules/sms/libsms_charset.c +++ b/src/modules/sms/libsms_charset.c @@ -3,7 +3,7 @@ SMS Server Tools Copyright (C) 2000 Stefan Frings This program is free software unless you got it under another license directly -from the author. You can redistribute it and/or modify it under the terms of +from the author. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. Either version 2 of the License, or (at your option) any later version. diff --git a/src/modules/sms/libsms_charset.h b/src/modules/sms/libsms_charset.h index e39a4d82def..9fe01096d2c 100644 --- a/src/modules/sms/libsms_charset.h +++ b/src/modules/sms/libsms_charset.h @@ -3,7 +3,7 @@ SMS Server Tools Copyright (C) 2000 Stefan Frings This program is free software unless you got it under another license directly -from the author. You can redistribute it and/or modify it under the terms of +from the author. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. Either version 2 of the License, or (at your option) any later version. diff --git a/src/modules/sms/libsms_getsms.c b/src/modules/sms/libsms_getsms.c index 18a7ea6924f..94f50f917b2 100644 --- a/src/modules/sms/libsms_getsms.c +++ b/src/modules/sms/libsms_getsms.c @@ -166,7 +166,7 @@ static int fetchsms(struct modem *mdm, int sim, char *pdu) position = strstr(answer, "+CMGR:"); } - /* keine SMS empfangen, weil Modem nicht mit +CMGR + /* keine SMS empfangen, weil Modem nicht mit +CMGR oder +CMGL geantwortet hat */ if(position == 0) return 0; @@ -353,7 +353,7 @@ static int split_type_0(char *Pointer, struct incame_sms *sms) /* Subroutine for splitpdu() for messages type 2 (Staus Report) - Returns the length of the ascii string. In binary mode ascii + Returns the length of the ascii string. In binary mode ascii contains the binary SMS */ static int split_type_2(char *position, struct incame_sms *sms) { diff --git a/src/modules/sms/libsms_modem.h b/src/modules/sms/libsms_modem.h index ad9e9f68ace..71a4a02afb6 100644 --- a/src/modules/sms/libsms_modem.h +++ b/src/modules/sms/libsms_modem.h @@ -3,7 +3,7 @@ SMS Server Tools Copyright (C) 2000 Stefan Frings This program is free software unless you got it under another license directly -from the author. You can redistribute it and/or modify it under the terms of +from the author. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. Either version 2 of the License, or (at your option) any later version. diff --git a/src/modules/sms/sms_funcs.c b/src/modules/sms/sms_funcs.c index a0e0f6e9e7a..7c45d8c5967 100644 --- a/src/modules/sms/sms_funcs.c +++ b/src/modules/sms/sms_funcs.c @@ -13,8 +13,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 */ @@ -173,7 +173,7 @@ int push_on_network(struct sip_msg *msg, int net) goto error; } - /* we try to get the user name (phone number) first from the RURI + /* we try to get the user name (phone number) first from the RURI (in our case means from new_uri or from first_line.u.request.uri); if it's missing there (like in requests generated by MSN MESSENGER), we go for "to" header diff --git a/src/modules/sms/sms_funcs.h b/src/modules/sms/sms_funcs.h index f8b0117039d..e49427c91b7 100644 --- a/src/modules/sms/sms_funcs.h +++ b/src/modules/sms/sms_funcs.h @@ -13,8 +13,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/sms/sms_report.c b/src/modules/sms/sms_report.c index 1fdae367bca..91c1e78583b 100644 --- a/src/modules/sms/sms_report.c +++ b/src/modules/sms/sms_report.c @@ -69,8 +69,8 @@ get_time_func *get_time; * 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 */