diff options
| author | Magnus Hagander | 2018-11-02 12:56:16 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2018-11-02 12:56:52 +0000 |
| commit | fbec7459aa39da864ad1d578f044a21c3b3b057c (patch) | |
| tree | 79d55688053fef8d9d63099f06f8eca154b5142e /src/test/examples | |
| parent | 8610c973ddf1cbf0befc1369d2cf0d56c0efcd0a (diff) | |
Fix spelling errors and typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/test/examples')
| -rw-r--r-- | src/test/examples/testlibpq.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq2.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq3.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq4.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlo.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlo64.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/test/examples/testlibpq.c b/src/test/examples/testlibpq.c index d9c6c4587d..18c98083de 100644 --- a/src/test/examples/testlibpq.c +++ b/src/test/examples/testlibpq.c @@ -48,7 +48,7 @@ main(int argc, char **argv) exit_nicely(conn); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SELECT pg_catalog.set_config('search_path', '', false)"); if (PQresultStatus(res) != PGRES_TUPLES_OK) diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c index 6cdf8c8631..511246763a 100644 --- a/src/test/examples/testlibpq2.c +++ b/src/test/examples/testlibpq2.c @@ -77,7 +77,7 @@ main(int argc, char **argv) exit_nicely(conn); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SELECT pg_catalog.set_config('search_path', '', false)"); if (PQresultStatus(res) != PGRES_TUPLES_OK) diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c index 00e62b43d2..c3b524cfdf 100644 --- a/src/test/examples/testlibpq3.c +++ b/src/test/examples/testlibpq3.c @@ -142,7 +142,7 @@ main(int argc, char **argv) exit_nicely(conn); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SET search_path = testlibpq3"); if (PQresultStatus(res) != PGRES_COMMAND_OK) { diff --git a/src/test/examples/testlibpq4.c b/src/test/examples/testlibpq4.c index 6fcbdda2fa..df8e454b5d 100644 --- a/src/test/examples/testlibpq4.c +++ b/src/test/examples/testlibpq4.c @@ -34,7 +34,7 @@ check_prepare_conn(PGconn *conn, const char *dbName) exit(1); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SELECT pg_catalog.set_config('search_path', '', false)"); if (PQresultStatus(res) != PGRES_TUPLES_OK) diff --git a/src/test/examples/testlo.c b/src/test/examples/testlo.c index 8d8fb494f9..79170e97b8 100644 --- a/src/test/examples/testlo.c +++ b/src/test/examples/testlo.c @@ -232,7 +232,7 @@ main(int argc, char **argv) exit_nicely(conn); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SELECT pg_catalog.set_config('search_path', '', false)"); if (PQresultStatus(res) != PGRES_TUPLES_OK) diff --git a/src/test/examples/testlo64.c b/src/test/examples/testlo64.c index 85da06a640..2b1677aefa 100644 --- a/src/test/examples/testlo64.c +++ b/src/test/examples/testlo64.c @@ -256,7 +256,7 @@ main(int argc, char **argv) exit_nicely(conn); } - /* Set always-secure search path, so malicous users can't take control. */ + /* Set always-secure search path, so malicious users can't take control. */ res = PQexec(conn, "SELECT pg_catalog.set_config('search_path', '', false)"); if (PQresultStatus(res) != PGRES_TUPLES_OK) |
