Skip to content

Commit 79998d8

Browse files
committed
Revert "#15 trying another license header"
This reverts commit 6e6aab3.
1 parent cafd422 commit 79998d8

26 files changed

+90
-68
lines changed

src/auth_test/auth_test.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#define CATCH_CONFIG_RUNNER
910
#include <catch.hpp>

src/influx-c-rest/influx_c_rest_api.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45
#pragma once
56

67
#ifdef _MSC_VER

src/influx-c-rest/influx_c_rest_async.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influx_c_rest_async.h"
910

src/influx-c-rest/influx_c_rest_async.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45
#pragma once
56

67
#include "influx_c_rest_api.h"

src/influx-c-rest/influx_c_rest_query.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influx_c_rest_query.h"
910

src/influx-c-rest/influx_c_rest_query.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45
#pragma once
56

67
#include "influx_c_rest_api.h"

src/influxdb-cpp-rest/influxdb_line.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/influxdb-cpp-rest/influxdb_raw_db.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influxdb_raw_db.h"
910

src/influxdb-cpp-rest/influxdb_raw_db.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/influxdb-cpp-rest/influxdb_raw_db_utf8.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influxdb_raw_db_utf8.h"
910
#include "influxdb_raw_db.h"

src/influxdb-cpp-rest/influxdb_raw_db_utf8.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/influxdb-cpp-rest/influxdb_simple_api.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influxdb_simple_api.h"
910
#include "influxdb_raw_db_utf8.h"

src/influxdb-cpp-rest/influxdb_simple_api.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/influxdb-cpp-rest/influxdb_simple_async_api.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "influxdb_simple_async_api.h"
910
#include "influxdb_line.h"

src/influxdb-cpp-rest/influxdb_simple_async_api.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/influxdb-cpp-rest/input_sanitizer.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "input_sanitizer.h"
910

src/influxdb-cpp-rest/input_sanitizer.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/license/header_c

-3
This file was deleted.

src/test-shared/async_c_test.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include <catch.hpp>
910
#include "../influx-c-rest/influx_c_rest_async.h"

src/test-shared/test_main.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#define CATCH_CONFIG_MAIN
910
#include <catch.hpp>

src/test/fixtures.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include "fixtures.h"
910

src/test/fixtures.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/* This Source Code Form is subject to the terms of the Mozilla Public
1+
/* * This Source Code Form is subject to the terms of the Mozilla Public
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
3-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
*/
45

56
#pragma once
67

src/test/sanitizer_test.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include <catch.hpp>
910
#include "../influxdb-cpp-rest/input_sanitizer.h"

src/test/simple_api_test.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include <catch.hpp>
910

src/test/test_main.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#define CATCH_CONFIG_MAIN
910
#include <catch.hpp>

src/test/utf8_client_test.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
22
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
33
//
4-
/* This Source Code Form is subject to the terms of the Mozilla Public
5-
* License, v. 2.0. If a copy of the MPL was not distributed with this
6-
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
// This Source Code Form is subject to the terms of the Mozilla Public
5+
// License, v. 2.0. If a copy of the MPL was not distributed with this
6+
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7+
//
78

89
#include <catch.hpp>
910

0 commit comments

Comments
 (0)