Skip to content

Commit

Permalink
http_client: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 4822439 commit abfc330
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions src/modules/http_client/curl_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Copyright (C) 2016 Edvina AB, Olle E. Johansson
*
* This file is part of Kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
4 changes: 2 additions & 2 deletions src/modules/http_client/curl_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* Copyright (C) 2015 Hugh Waite
*
* This file is part of Kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
4 changes: 2 additions & 2 deletions src/modules/http_client/curlcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Copyright (C) 2008 Elena-Ramona Modroiu (asipto.com)
*
* This file is part of kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
10 changes: 5 additions & 5 deletions src/modules/http_client/curlcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* Copyright (C) 2015 Olle E. Johansson, Edvina AB
*
* This file is part of Kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand All @@ -17,8 +17,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
*
*/
Expand All @@ -37,7 +37,7 @@

extern curl_con_t *_curl_con_root;

/*! Count the number of connections
/*! Count the number of connections
*/
unsigned int curl_connection_count();

Expand Down
4 changes: 2 additions & 2 deletions src/modules/http_client/curlrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* RPC functions
*
* This file is part of kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
6 changes: 3 additions & 3 deletions src/modules/http_client/curlrpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* RPC functions
*
* This file is part of kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
8 changes: 4 additions & 4 deletions src/modules/http_client/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* Based on functions from siputil
* Copyright (C) 2008 Juha Heinanen
* Copyright (C) 2013 Carsten Bock, ng-voice GmbH
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio is free software; you can redistribute it and/or modify
Expand All @@ -21,8 +21,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
*
*/
Expand Down
4 changes: 2 additions & 2 deletions src/modules/http_client/functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Copyright (C) 2013 Carsten Bock, ng-voice GmbH
*
* This file is part of Kamailio, a free SIP server.
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down
10 changes: 5 additions & 5 deletions src/modules/http_client/http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This file is part of Kamailio, a free SIP server.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* Kamailio is free software; 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
Expand Down Expand Up @@ -477,8 +477,8 @@ static int fixup_curl_connect(void **param, int param_no)
}

/*
* Fix curl_connect params when posting (5 parameters):
* connection (string/pvar), url (string with pvars), content-type,
* Fix curl_connect params when posting (5 parameters):
* connection (string/pvar), url (string with pvars), content-type,
* data (string/pvar, pvar)
*/
static int fixup_curl_connect_post(void **param, int param_no)
Expand Down Expand Up @@ -509,8 +509,8 @@ static int fixup_curl_connect_post(void **param, int param_no)
}

/*
* Fix curl_connect params when posting (5 parameters):
* connection (string/pvar), url (string with pvars), content-type,
* Fix curl_connect params when posting (5 parameters):
* connection (string/pvar), url (string with pvars), content-type,
* data (string(with no pvar parsing), pvar)
*/
static int fixup_curl_connect_post_raw(void **param, int param_no)
Expand Down
10 changes: 5 additions & 5 deletions src/modules/http_client/http_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* header file of http_client.c
*
* Copyright (C) 2008 Juha Heinanen
*
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio is free software; you can redistribute it and/or modify
Expand All @@ -17,8 +17,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
*
*/
Expand Down Expand Up @@ -139,7 +139,7 @@ typedef struct _curl_con_pkg
double connecttime; /*!< Seconds used for connecting last request inc TLS setup - see
https://curl.haxx.se/libcurl/c/CURLINFO_APPCONNECT_TIME.html */

/* Potential candidates: Last TLS fingerprint used
/* Potential candidates: Last TLS fingerprint used
*/
struct _curl_con_pkg *next; /*!< next connection */
Expand Down

0 comments on commit abfc330

Please sign in to comment.