Skip to content

Commit

Permalink
cplc: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 3e0f45d commit 23515b1
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/modules/cplc/cpl_nonsig.c
Expand Up @@ -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
*
* History:
Expand Down
4 changes: 2 additions & 2 deletions src/modules/cplc/cpl_nonsig.h
Expand Up @@ -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
*
* History:
Expand Down
4 changes: 2 additions & 2 deletions src/modules/cplc/cpl_proxy.h
Expand Up @@ -22,7 +22,7 @@
* History:
* -------
* 2003-07-29: file created (bogdan)
* 2004-06-14: flag CPL_IS_STATEFUL is set now immediately after the
* 2004-06-14: flag CPL_IS_STATEFUL is set now immediately after the
* transaction is created (bogdan)
*/

Expand Down Expand Up @@ -276,7 +276,7 @@ static void reply_callback(struct cell *t, int type, struct tmcb_params *ps)
rez = cpl_run_script(intr);
switch(rez) {
case SCRIPT_END:
/* we don't need to free the interpreter here since it will
/* we don't need to free the interpreter here since it will
* be freed in the final_reply callback */
case SCRIPT_TO_BE_CONTINUED:
return;
Expand Down
8 changes: 4 additions & 4 deletions src/modules/cplc/cpl_run.c
Expand Up @@ -25,7 +25,7 @@
* 2003-09-11 : build_lump_rpl() merged into add_lump_rpl() (bogdan)
* 2004-06-14 : all global variables merged into cpl_env and cpl_fct;
* append_branches param added to lookup node (bogdan)
* 2004-06-14 : flag CPL_IS_STATEFUL is set now immediately after the
* 2004-06-14 : flag CPL_IS_STATEFUL is set now immediately after the
* transaction is created (bogdan)
*/

Expand Down Expand Up @@ -946,23 +946,23 @@ static inline int run_default(struct cpl_interpreter *intr)
return SCRIPT_DEFAULT;
} else {
/* case 2 : no location modifications or signaling operations
* performed, location set non-empty: (This can only happen
* performed, location set non-empty: (This can only happen
* for outgoing calls.) ->
* Proxy the call to the address in the location set.
* With other words, let ser to continue processing the
* request as nothing happened */
return SCRIPT_DEFAULT;
}
} else {
/* case 3 : location modifications performed, no signaling
/* case 3 : location modifications performed, no signaling
* operations ->
* Proxy the call to the addresses in the location set */
if(!cpl_proxy_to_loc_set(intr->msg, &(intr->loc_set), intr->flags))
return SCRIPT_END;
return SCRIPT_RUN_ERROR;
}
} else {
/* case 4 : proxy operation previously taken -> return whatever the
/* case 4 : proxy operation previously taken -> return whatever the
* "best" response is of all accumulated responses to the call to this
* point, according to the rules of the underlying signaling
* protocol. */
Expand Down
4 changes: 2 additions & 2 deletions src/modules/cplc/cpl_sig.c
Expand Up @@ -30,8 +30,8 @@


/* forwards the msg to the given location set; if flags has set the
* CPL_PROXY_DONE, all locations will be added as branches, otherwise, the
* first one will set as RURI (this is ha case when this is the first proxy
* CPL_PROXY_DONE, all locations will be added as branches, otherwise, the
* first one will set as RURI (this is ha case when this is the first proxy
* of the message)
* The given list of location will be freed, returning 0 instead.
* Returns: 0 - OK
Expand Down
4 changes: 2 additions & 2 deletions src/modules/cplc/cpl_switches.h
Expand Up @@ -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
*
* History:
Expand Down
12 changes: 6 additions & 6 deletions src/modules/cplc/cplc.c
Expand Up @@ -545,9 +545,9 @@ static inline int get_orig_user(struct sip_msg *msg, str *username, str *domain)
}


/* Params:
* str1 - as unsigned int - can be CPL_RUN_INCOMING or CPL_RUN_OUTGOING
* str2 - as unsigned int - flags regarding state(less)|(ful)
/* Params:
* str1 - as unsigned int - can be CPL_RUN_INCOMING or CPL_RUN_OUTGOING
* str2 - as unsigned int - flags regarding state(less)|(ful)
* str3 - URI in SPVE structure
*/
static int cpl_invoke_script3(
Expand Down Expand Up @@ -641,9 +641,9 @@ static int cpl_invoke_script3(
return -1;
}

/* Params:
* str1 - as unsigned int - can be CPL_RUN_INCOMING or CPL_RUN_OUTGOING
* str2 - as unsigned int - flags regarding state(less)|(ful)
/* Params:
* str1 - as unsigned int - can be CPL_RUN_INCOMING or CPL_RUN_OUTGOING
* str2 - as unsigned int - flags regarding state(less)|(ful)
*/
static int cpl_invoke_script(struct sip_msg *msg, char *str1, char *str2)
{
Expand Down

0 comments on commit 23515b1

Please sign in to comment.